1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fixed test

This commit is contained in:
Nguyễn Việt Hưng
2019-08-29 10:21:53 +12:00
committed by Junyoung Choi
parent 5b0b309c49
commit 28b8141c6b

View File

@@ -634,7 +634,7 @@ function deleteAttachmentsNotPresentInNote (markdownContent, storageKey, noteKey
list of attachments with their properties */
function getAttachmentsPathAndStatus (markdownContent, storageKey, noteKey) {
if (storageKey == null || noteKey == null || markdownContent == null) {
return
return null
}
const targetStorage = findStorage.findStorage(storageKey)
const attachmentFolder = path.join(targetStorage.path, DESTINATION_FOLDER, noteKey)