From a0bc9f561163193bca3318bcd2ca52dbb291abb7 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sat, 7 Oct 2017 19:48:55 -0600 Subject: [PATCH] drop redundant 'utf8' argument to Buffer#toString - utf8 is the default argument value, so there's no need to pass it --- tasks/lib/gulp-prettier-eslint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/lib/gulp-prettier-eslint.js b/tasks/lib/gulp-prettier-eslint.js index ae43eb1..667654b 100644 --- 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) {