From b3224a213a80c268fc0db00ce6f7d7ca6d4c77cc Mon Sep 17 00:00:00 2001 From: MuchtarSalimov Date: Tue, 16 Oct 2018 14:02:39 -0400 Subject: [PATCH] Removed extra something I forgot to delete --- src/filesystem/implementation.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/filesystem/implementation.js b/src/filesystem/implementation.js index 303e56d..d9342a2 100644 --- a/src/filesystem/implementation.js +++ b/src/filesystem/implementation.js @@ -1871,10 +1871,6 @@ function appendFile(fs, context, path, data, options, callback) { return callback(new Errors.EINVAL('flags is not valid', path)); } - if (typeof options === 'object' && options.encoding === undefined ) { - options.encoding = 'utf8'; - } - if typeof (options ==== 'object') { if (options.encoding === undefined) { options.encoding = 'utf8';