Skip to content

Commit 270431b

Browse files
committed
wip
1 parent 6f5e38f commit 270431b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cli/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let pauser = require('../utils/pause-sandbox')
2323
* --prune ...................... remove files that exist in static s3 bucket but do not exist in local /public folder
2424
* --dry-run .................... assemble CloudFormation sam.json but do not deploy remotely (useful for testing)
2525
*/
26-
async function main(opts = {}) {
26+
async function main (opts = {}) {
2727
let flags = _flags()
2828
let { deployStage, quiet } = flags
2929
// Use provided inventory or create new one
@@ -81,7 +81,8 @@ if (require.main === module) {
8181
// Reuse the same updater instance to preserve any internal state
8282
if (update) {
8383
update.error(err)
84-
} else {
84+
}
85+
else {
8586
// Fallback if updater wasn't created yet
8687
let flags = _flags()
8788
updater('Deploy', { quiet: flags.quiet }).error(err)

0 commit comments

Comments
 (0)