Additional logging when changing linked attachment base directory
This commit is contained in:
parent
d73a6f8a11
commit
ecd6c66750
1 changed files with 1 additions and 0 deletions
|
@ -637,6 +637,7 @@ Zotero_Preferences.Attachment_Base_Directory = {
|
||||||
// don't touch the attachment, since it will continue to work
|
// don't touch the attachment, since it will continue to work
|
||||||
if (relPath) {
|
if (relPath) {
|
||||||
if (yield IOUtils.exists(PathUtils.joinRelative(basePath, relPath))) {
|
if (yield IOUtils.exists(PathUtils.joinRelative(basePath, relPath))) {
|
||||||
|
Zotero.debug(`${relPath} found within new base path -- skipping`);
|
||||||
numNewAttachments++;
|
numNewAttachments++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue