Skip to content

Commit

Permalink
Update src/filesystem/implementation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd authored and MuchtarSalimov committed Oct 17, 2018
1 parent 398187b commit 6463e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/implementation.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 6463e0e

Please sign in to comment.