Update implementation.js

This commit is contained in:
MuchtarSalimov 2018-10-16 14:11:50 -04:00 committed by GitHub
parent eb2c77bd93
commit 398187ba96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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