From: Dan Allen Date: Sun, 8 Oct 2017 01:48:55 +0000 (-0600) Subject: drop redundant 'utf8' argument to Buffer#toString X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a0bc9f561163193bca3318bcd2ca52dbb291abb7;p=eg-antora.git drop redundant 'utf8' argument to Buffer#toString - utf8 is the default argument value, so there's no need to pass it --- 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) {