Release 1.1.2
This commit is contained in:
parent
bf18093661
commit
9b3e567dd1
|
@ -6969,6 +6969,14 @@ function lstat_file(context, path, callback) {
|
|||
}
|
||||
}
|
||||
|
||||
function create_node(error, data) {
|
||||
if (error) {
|
||||
return callback(error);
|
||||
}
|
||||
|
||||
Node.create(data, callback);
|
||||
}
|
||||
|
||||
function check_if_file_exists(error, result) {
|
||||
if (error) {
|
||||
callback(error);
|
||||
|
@ -6978,7 +6986,7 @@ function lstat_file(context, path, callback) {
|
|||
if (!directoryData.hasOwnProperty(name)) {
|
||||
callback(new Errors.ENOENT('a component of the path does not name an existing file', path));
|
||||
} else {
|
||||
context.getObject(directoryData[name].id, callback);
|
||||
context.getObject(directoryData[name].id, create_node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -10,7 +10,7 @@
|
|||
"indexeddb",
|
||||
"idb"
|
||||
],
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"author": "Alan K <ack@modeswitch.org> (http://blog.modeswitch.org)",
|
||||
"homepage": "http://filerjs.github.io/filer",
|
||||
"bugs": "https://github.com/filerjs/filer/issues",
|
||||
|
|
Loading…
Reference in New Issue