Skip to content

Commit

Permalink
Update linter and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 11, 2020
1 parent 61c6b62 commit 202f5ad
Show file tree
Hide file tree
Showing 75 changed files with 3,552 additions and 2,557 deletions.
22 changes: 11 additions & 11 deletions bin/autoprefixer
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

let mode = process.argv[2]
if (mode === '--info') {
process.stdout.write(
require('../')().info() + '\n')
process.stdout.write(require('../')().info() + '\n')
} else if (mode === '--version') {
process.stdout.write(
'autoprefixer ' + require('../package.json').version + '\n')
'autoprefixer ' + require('../package.json').version + '\n'
)
} else {
process.stdout.write(
'autoprefix\n' +
'\n' +
'Options:\n' +
' --info Show target browsers and used prefixes\n' +
' --version Show version number\n' +
' --help Show help\n' +
'\n' +
'Usage:\n' +
' autoprefixer --info\n'
'\n' +
'Options:\n' +
' --info Show target browsers and used prefixes\n' +
' --version Show version number\n' +
' --help Show help\n' +
'\n' +
'Usage:\n' +
' autoprefixer --info\n'
)
}
Loading

0 comments on commit 202f5ad

Please sign in to comment.