Fix broken DataDirectory.removeSubdirectory() (regression 7f2d83a6
)
This commit is contained in:
parent
2cf940763f
commit
044b08c9af
1 changed files with 1 additions and 1 deletions
|
@ -1249,6 +1249,6 @@ Zotero.DataDirectory = {
|
||||||
* or false if it did not exist
|
* or false if it did not exist
|
||||||
*/
|
*/
|
||||||
removeSubdirectory: function (name) {
|
removeSubdirectory: function (name) {
|
||||||
return Zotero.File.removeIfExists(OS.Path.join(this.dir, name));
|
return OS.File.removeDir(OS.Path.join(this.dir, name), {ignoreAbsent: true});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue