Removed extra something I forgot to delete
This commit is contained in:
parent
93a669bd90
commit
b3224a213a
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue