Browse Source

now-deploy: fix `if`

master
Guillermo Rauch 9 years ago
parent
commit
0523226252
  1. 2
      bin/now-deploy

2
bin/now-deploy

@ -211,7 +211,7 @@ async function sync (token) {
} else if (hasPackage) { } else if (hasPackage) {
if (debug) console.log('[debug] `package.json` found, assuming `deploymentType` = `npm`'); if (debug) console.log('[debug] `package.json` found, assuming `deploymentType` = `npm`');
deploymentType = 'npm'; deploymentType = 'npm';
} else if (hasDockerFile) { } else if (hasDockerfile) {
if (debug) console.log('[debug] `Dockerfile` found, assuming `deploymentType` = `docker`'); if (debug) console.log('[debug] `Dockerfile` found, assuming `deploymentType` = `docker`');
deploymentType = 'docker'; deploymentType = 'docker';
} else { } else {

Loading…
Cancel
Save