Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
1 changed files with
6 additions and
3 deletions
-
bin/now-deploy.js
|
|
@ -205,7 +205,12 @@ async function sync(token) { |
|
|
|
try { |
|
|
|
await stat(path) |
|
|
|
} catch (err) { |
|
|
|
const repo = await onGitHub(rawPath, debug) |
|
|
|
let repo |
|
|
|
|
|
|
|
if (isRepoPath(rawPath)) { |
|
|
|
console.log('> Didn\'t find directory. Searching on GitHub...') |
|
|
|
repo = await onGitHub(rawPath, debug) |
|
|
|
} |
|
|
|
|
|
|
|
if (repo) { |
|
|
|
path = repo.path |
|
|
@ -225,8 +230,6 @@ async function sync(token) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
process.exit() |
|
|
|
|
|
|
|
let deploymentType |
|
|
|
|
|
|
|
let hasPackage |
|
|
|