new build
This commit is contained in:
parent
969fbd1e09
commit
e4b101e0ed
|
@ -9066,7 +9066,7 @@ define('src/fs',['require','lodash','when','encoding-indexes','encoding','src/pa
|
|||
deferred.reject(new EInvalid('flags is not valid'));
|
||||
}
|
||||
|
||||
open_file(this, files, path, flags, check_result);
|
||||
open_file(that, files, path, flags, check_result);
|
||||
deferred.promise.then(
|
||||
function(result) {
|
||||
callback(undefined, result);
|
||||
|
@ -9370,7 +9370,7 @@ define('src/fs',['require','lodash','when','encoding-indexes','encoding','src/pa
|
|||
deferred.reject(new EInvalid('flags is not valid'));
|
||||
}
|
||||
|
||||
open_file(this, files, path, flags, function(err, fileNode) {
|
||||
open_file(that, files, path, flags, function(err, fileNode) {
|
||||
if(err) {
|
||||
// TODO: abort transaction?
|
||||
return deferred.reject(err);
|
||||
|
@ -9492,7 +9492,7 @@ define('src/fs',['require','lodash','when','encoding-indexes','encoding','src/pa
|
|||
data = new TextEncoder('utf-8').encode(data);
|
||||
}
|
||||
|
||||
open_file(this, files, path, flags, function(err, fileNode) {
|
||||
open_file(that, files, path, flags, function(err, fileNode) {
|
||||
if(err) {
|
||||
// TODO: abort transaction?
|
||||
return deferred.reject(err);
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue