Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
1 changed files with
9 additions and
1 deletions
-
bin/now-deploy.js
|
|
@ -145,10 +145,10 @@ const exit = code => { |
|
|
|
} |
|
|
|
|
|
|
|
// options
|
|
|
|
let forceNew = argv.force |
|
|
|
const debug = argv.debug |
|
|
|
const clipboard = !argv['no-clipboard'] |
|
|
|
const forwardNpm = argv['forward-npm'] |
|
|
|
const forceNew = argv.force |
|
|
|
const forceSync = argv.forceSync |
|
|
|
const shouldLogin = argv.login |
|
|
|
const wantsPublic = argv.public |
|
|
@ -161,6 +161,14 @@ if (argv.config) { |
|
|
|
cfg.setConfigFile(argv.config) |
|
|
|
} |
|
|
|
|
|
|
|
// Create a new deployment if user changed
|
|
|
|
// the name or made _src public.
|
|
|
|
// This should just work fine because it doesn't
|
|
|
|
// force a new sync, it just forces a new deployment.
|
|
|
|
if (deploymentName || wantsPublic) { |
|
|
|
forceNew = true |
|
|
|
} |
|
|
|
|
|
|
|
const config = cfg.read() |
|
|
|
const alwaysForwardNpm = config.forwardNpm |
|
|
|
|
|
|
|