Browse Source

index: engines can be `null`

master
Guillermo Rauch 9 years ago
parent
commit
902cfdf979
  1. 2
      lib/index.js

2
lib/index.js

@ -145,7 +145,7 @@ export default class Now extends EventEmitter {
}
}
if (engines.node) {
if (engines && engines.node) {
if (missingVersion) {
console.log(`> Using Node.js ${chalk.bold(deployment.nodeVersion)} (default)`);
} else {

Loading…
Cancel
Save