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) {
if (debug) console.log('[debug] `package.json` found, assuming `deploymentType` = `npm`');
deploymentType = 'npm';
} else if (hasDockerFile) {
} else if (hasDockerfile) {
if (debug) console.log('[debug] `Dockerfile` found, assuming `deploymentType` = `docker`');
deploymentType = 'docker';
} else {

Loading…
Cancel
Save