Skip to content

Commit

Permalink
style(bin/options.js): Turn off prettier for single line
Browse files Browse the repository at this point in the history
Prettier reformatting is just wrong here. fs.readFileSync() should **not** be split across multiple
lines.
  • Loading branch information
plroebuck committed Apr 26, 2018
1 parent 68b3596 commit eb034dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function getOptions() {
: process.argv[process.argv.indexOf('--opts') + 1];

try {
// prettier-ignore
const opts = fs.readFileSync(optsPath, 'utf8')
.replace(/\\\s/g, '%20')
.split(/\s/)
Expand Down

0 comments on commit eb034dd

Please sign in to comment.