|
|
@ -28,7 +28,7 @@ export default class Now extends EventEmitter { |
|
|
|
this._onRetry = this._onRetry.bind(this); |
|
|
|
} |
|
|
|
|
|
|
|
async create (path, { forceNew, forceSync }) { |
|
|
|
async create (path, { forceNew, forceSync, quiet = false }) { |
|
|
|
this._path = path; |
|
|
|
|
|
|
|
try { |
|
|
@ -139,12 +139,13 @@ export default class Now extends EventEmitter { |
|
|
|
}); |
|
|
|
|
|
|
|
if (sizeExceeded) { |
|
|
|
console.log(`> \u001b[31mWarning!\u001b[39m ${sizeExceeded} of the files ` + |
|
|
|
console.error(`> \u001b[31mWarning!\u001b[39m ${sizeExceeded} of the files ` + |
|
|
|
'exceeded the limit for your plan.\n' + |
|
|
|
`> See ${chalk.underline('https://zeit.co/account')} to upgrade.`); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (!quiet) { |
|
|
|
if (engines && engines.node) { |
|
|
|
if (missingVersion) { |
|
|
|
console.log(`> Using Node.js ${chalk.bold(deployment.nodeVersion)} (default)`); |
|
|
@ -154,6 +155,7 @@ export default class Now extends EventEmitter { |
|
|
|
} else { |
|
|
|
console.log(`> Using Node.js ${chalk.bold(deployment.nodeVersion)} (default)`); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this._id = deployment.deploymentId; |
|
|
|
this._host = deployment.url; |
|
|
|