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'; }