mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Fix "destFile is not defined" file sync error
This commit is contained in:
parent
375b4341a6
commit
18f3c2cfb0
1 changed files with 1 additions and 1 deletions
|
|
@ -911,7 +911,7 @@ Zotero.Sync.Storage.Local = {
|
|||
// For advertising junk files, ignore a bug on Windows where
|
||||
// destFile.create() works but zipReader.extract() doesn't
|
||||
// when the path length is close to 255.
|
||||
if (destFile.leafName.match(/[a-zA-Z0-9+=]{130,}/)) {
|
||||
if (OS.Path.basename(destPath).match(/[a-zA-Z0-9+=]{130,}/)) {
|
||||
var msg = "Ignoring error extracting '" + destPath + "'";
|
||||
Zotero.debug(msg, 2);
|
||||
Zotero.debug(e, 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue