Skip to content

Commit

Permalink
Merge b23b669 into 17143b1
Browse files Browse the repository at this point in the history
  • Loading branch information
B3rn475 committed Feb 3, 2019
2 parents 17143b1 + b23b669 commit 5c790d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bin/cmds/evolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ exports.builder = (yargs) => {
exports.handler = (argv) => {
middleware().then((folder) => {
if (argv.src) {
lib.evolve.init(folder, argv.src)
return lib.evolve.init(folder, argv.src)
.then(() => {
console.log('Evolution completed!')
})
}
if (argv.abort) {
lib.evolve.abort(folder)
return lib.evolve.abort(folder)
.then(() => {
console.log('Evolution aborted!')
})
}
if (argv.continue) {
lib.evolve.continue(folder)
return lib.evolve.continue(folder)
.then(() => {
console.log('Evolution completed!')
})
Expand All @@ -55,4 +55,4 @@ exports.handler = (argv) => {
console.error(err)
})

}
}
4 changes: 3 additions & 1 deletion bin/cmds/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ exports.handler = () => {
return status.status()
}).then((value) => {
console.info(value);
}).catch((err) => {
console.error(err)
})
}
}

0 comments on commit 5c790d3

Please sign in to comment.