Skip to content

Commit

Permalink
drop redundant 'utf8' argument to Buffer#toString
Browse files Browse the repository at this point in the history
- utf8 is the default argument value, so there's no need to pass it
  • Loading branch information
mojavelinux committed Oct 8, 2017
1 parent 0555180 commit a0bc9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/lib/gulp-prettier-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = () => {
)
}

const input = file.contents.toString('utf8')
const input = file.contents.toString()
const output = prettierEslint({ text: input })

if (input === output) {
Expand Down

0 comments on commit a0bc9f5

Please sign in to comment.