@ -64,7 +64,7 @@ function check ({ debug = false }) {
const { latest } = data['dist-tags'];
const current = pkg.version;
if (latest !== pkg.version) {
if (1 === compare(latest, pkg.version)) {
if (debug) console.log(`> [debug] Needs update. Current ${current}, latest ${latest}`);
resolve({
latest,