projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0555180
)
drop redundant 'utf8' argument to Buffer#toString
author
Dan Allen
<dan@opendevise.com>
Sun, 8 Oct 2017 01:48:55 +0000
(19:48 -0600)
committer
Dan Allen
<dan@opendevise.com>
Sun, 8 Oct 2017 01:48:55 +0000
(19:48 -0600)
- utf8 is the default argument value, so there's no need to pass it
tasks/lib/gulp-prettier-eslint.js
patch
|
blob
|
history
diff --git
a/tasks/lib/gulp-prettier-eslint.js
b/tasks/lib/gulp-prettier-eslint.js
index
ae43eb1
..
667654b
100644
(file)
--- a/
tasks/lib/gulp-prettier-eslint.js
+++ b/
tasks/lib/gulp-prettier-eslint.js
@@
-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) {