Removed extra something I forgot to delete

This commit is contained in:
MuchtarSalimov 2018-10-16 14:02:39 -04:00 committed by GitHub
parent 93a669bd90
commit b3224a213a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -1871,10 +1871,6 @@ 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' && options.encoding === undefined ) {
options.encoding = 'utf8';
}
if typeof (options ==== 'object') { if typeof (options ==== 'object') {
if (options.encoding === undefined) { if (options.encoding === undefined) {
options.encoding = 'utf8'; options.encoding = 'utf8';