Release 1.1.2

This commit is contained in:
David Humphrey 2019-02-07 22:54:40 -05:00
parent bf18093661
commit 9b3e567dd1
4 changed files with 12 additions and 4 deletions

10
dist/filer.js vendored
View File

@ -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);
}
}
}

2
dist/filer.map vendored

File diff suppressed because one or more lines are too long

2
dist/filer.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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",