Skip to content

Commit 28b8141

Browse files
ZeroX-DGRokt33r
authored andcommitted
fixed test
1 parent 5b0b309 commit 28b8141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/main/lib/dataApi/attachmentManagement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ function deleteAttachmentsNotPresentInNote (markdownContent, storageKey, noteKey
634634
list of attachments with their properties */
635635
function getAttachmentsPathAndStatus (markdownContent, storageKey, noteKey) {
636636
if (storageKey == null || noteKey == null || markdownContent == null) {
637-
return
637+
return null
638638
}
639639
const targetStorage = findStorage.findStorage(storageKey)
640640
const attachmentFolder = path.join(targetStorage.path, DESTINATION_FOLDER, noteKey)

0 commit comments

Comments
 (0)