Browse Source

suggest "npm install"

master
Guillermo Rauch 9 years ago
parent
commit
9a5cab353a
  1. 1
      lib/check-update.js

1
lib/check-update.js

@ -29,6 +29,7 @@ export default function checkUpdate (opts = {}) {
console.log(`> ${chalk.white.bgRed('UPDATE NEEDED')} ` + console.log(`> ${chalk.white.bgRed('UPDATE NEEDED')} ` +
`Current: ${current}` + `Current: ${current}` +
`Latest ${chalk.bold(latest)} (released ${ago} ago)`); `Latest ${chalk.bold(latest)} (released ${ago} ago)`);
console.log('> Run `npm install -g now` to update');
} }
}); });

Loading…
Cancel
Save