From 398187ba9626fb828e2ed13e79fdad02f7f573c5 Mon Sep 17 00:00:00 2001 From: MuchtarSalimov Date: Tue, 16 Oct 2018 14:11:50 -0400 Subject: [PATCH] Update implementation.js --- src/filesystem/implementation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesystem/implementation.js b/src/filesystem/implementation.js index 99e5363..74fc84d 100644 --- a/src/filesystem/implementation.js +++ b/src/filesystem/implementation.js @@ -1871,7 +1871,7 @@ function appendFile(fs, context, path, data, options, callback) { return callback(new Errors.EINVAL('flags is not valid', path)); } - if (typeof options ==== 'object') { + if (typeof options === 'object') { if (options.encoding === undefined) { options.encoding = 'utf8'; }