Skip to content

Commit

Permalink
Update implementation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchtarSalimov committed Oct 16, 2018
1 parent eb2c77b commit 398187b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 398187b

Please sign in to comment.