Browse Source

Tell user that we're looking on GitHub

master
Leo Lamprecht 8 years ago
parent
commit
e16a6eaa30
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 9
      bin/now-deploy.js

9
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

Loading…
Cancel
Save