Additional logging when changing linked attachment base directory

This commit is contained in:
Dan Stillman 2024-07-01 03:51:37 -04:00
parent d73a6f8a11
commit ecd6c66750

View file

@ -637,6 +637,7 @@ Zotero_Preferences.Attachment_Base_Directory = {
// don't touch the attachment, since it will continue to work
if (relPath) {
if (yield IOUtils.exists(PathUtils.joinRelative(basePath, relPath))) {
Zotero.debug(`${relPath} found within new base path -- skipping`);
numNewAttachments++;
continue;
}