Update src/filesystem/implementation.js

This commit is contained in:
David Humphrey 2018-10-17 00:58:15 -04:00 committed by MuchtarSalimov
parent 398187ba96
commit 6463e0eb62
1 changed files with 1 additions and 1 deletions

View File

@ -1872,7 +1872,7 @@ function appendFile(fs, context, path, data, options, callback) {
}
if (typeof options === 'object') {
if (options.encoding === undefined) {
if (!options.encoding) {
options.encoding = 'utf8';
}
if (typeof options.mode === undefined) {