Skip to content

Commit

Permalink
chore: Adapt to coding standard changes
Browse files Browse the repository at this point in the history
  • Loading branch information
prantlf committed Sep 8, 2018
1 parent bc717ee commit dc1f991
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 195 deletions.
191 changes: 0 additions & 191 deletions .eslintrc

This file was deleted.

1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends: standard
6 changes: 3 additions & 3 deletions bin/buildnumgen
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ commander.on('--help', () => {
console.log(' Prints a new build number if called without arguments. If called with a')
console.log(' previously generated build number, it will print the time, when it was')
console.log(' generated. If called with a semver number, it will append the build number')
console.log(' to it and print the result. The default build number separator is dot (".").')
console.log(' When validating a build number, the process exists with zero if the input is')
console.log(' valid, otherwise it exists with a non-zero.')
console.log(' to it and print the result. The default build number separator is dot (.).')
console.log(' When validating a build number, the process exists with zero if the input')
console.log(' is valid, otherwise it exists with a non-zero.')
console.log()
console.log(' Examples:')
console.log()
Expand Down
2 changes: 1 addition & 1 deletion lib/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function generateBuildNumber (options) {

options || (options = {})
if (typeof options === 'string') {
options = {version: options}
options = { version: options }
}
const version = options.version
if (version) {
Expand Down

0 comments on commit dc1f991

Please sign in to comment.