Browse Source

show `Using Node.js` only for npm deployment type (#183)

master
Igor Klopov 8 years ago
committed by Leo Lamprecht
parent
commit
1ce72df4fd
  1. 2
      lib/index.js

2
lib/index.js

@ -210,7 +210,7 @@ export default class Now extends EventEmitter {
}
}
if (!quiet && deployment.nodeVersion) {
if (!quiet && deploymentType === 'npm' && deployment.nodeVersion) {
if (engines && engines.node) {
if (missingVersion) {
console.log(`> Using Node.js ${chalk.bold(deployment.nodeVersion)} (default)`)

Loading…
Cancel
Save