Skip to content

Commit

Permalink
v0.5.0-beta.3 (#31)
Browse files Browse the repository at this point in the history
* feat(core): Update to babel 7
* feat(core): add figures and message styling to make message more clear
  • Loading branch information
prescottprue authored Dec 1, 2018
1 parent d5e665c commit 7e01070
Show file tree
Hide file tree
Showing 8 changed files with 5,041 additions and 3,973 deletions.
12 changes: 7 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"presets": [
["env", {
"targets": {
"node": "6.11"
[
"@babel/preset-env",
{
"targets": {
"node": "6"
}
}
}]
]
],
"plugins": [
"lodash",
"transform-async-to-generator",
"add-module-exports"
]
}
20 changes: 11 additions & 9 deletions bin/firebase-ci
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ program.version(pkg.version)

require('../cmds')(program)

program
.on('*', function (name) {
console.log('\'' + name + '\' is not a known command. See \'firebase-ci --help\':') // eslint-disable-line no-console
program.outputHelp()
process.exit(1)
})
program.on('*', function(name) {
/* eslint-disable no-console */
console.log(
"'" + name + "' is not a known command. See 'firebase-ci --help':"
)
/* eslint-enable no-console */
program.outputHelp()
process.exit(1)
})

program
.parse(process.argv)
program.parse(process.argv)

if (program.args.length < 1) {
console.log('No command specified. See \'firebase-ci --help\':') // eslint-disable-line no-console
console.log("No command specified. See 'firebase-ci --help':") // eslint-disable-line no-console
program.outputHelp()
process.exit(1)
}
Loading

0 comments on commit 7e01070

Please sign in to comment.