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