Update implementation.js
This commit is contained in:
parent
eb2c77bd93
commit
398187ba96
|
@ -1871,7 +1871,7 @@ function appendFile(fs, context, path, data, options, callback) {
|
||||||
return callback(new Errors.EINVAL('flags is not valid', path));
|
return callback(new Errors.EINVAL('flags is not valid', path));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof options ==== 'object') {
|
if (typeof options === 'object') {
|
||||||
if (options.encoding === undefined) {
|
if (options.encoding === undefined) {
|
||||||
options.encoding = 'utf8';
|
options.encoding = 'utf8';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue