commit 83fe445f8f5a66c70a46617384f2e28cfd7121a0 parent 39bfeac86c210a502aa280616a15878e1f356773 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 10 Aug 2017 03:59:55 +0200 Fix error message in WebDAV purgeOrphanedStorageFiles() Diffstat:
| M | chrome/content/zotero/xpcom/storage/webdav.js | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js @@ -1034,10 +1034,7 @@ Zotero.Sync.Storage.Mode.WebDAV.prototype = { // character in the URL and the server (e.g., Sakai) is // encoding the value && decodeURIComponent(href).indexOf(path) == -1) { - throw new Error( - "DAV:href '" + href + "' does not begin with path '" - + path + "' in " + funcName - ); + throw new Error(`DAV:href '${href}' does not begin with path '${path}'`); } var matches = href.match(/[^\/]+$/);