mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fixed test
This commit is contained in:
committed by
Junyoung Choi
parent
5b0b309c49
commit
28b8141c6b
@@ -634,7 +634,7 @@ function deleteAttachmentsNotPresentInNote (markdownContent, storageKey, noteKey
|
|||||||
list of attachments with their properties */
|
list of attachments with their properties */
|
||||||
function getAttachmentsPathAndStatus (markdownContent, storageKey, noteKey) {
|
function getAttachmentsPathAndStatus (markdownContent, storageKey, noteKey) {
|
||||||
if (storageKey == null || noteKey == null || markdownContent == null) {
|
if (storageKey == null || noteKey == null || markdownContent == null) {
|
||||||
return
|
return null
|
||||||
}
|
}
|
||||||
const targetStorage = findStorage.findStorage(storageKey)
|
const targetStorage = findStorage.findStorage(storageKey)
|
||||||
const attachmentFolder = path.join(targetStorage.path, DESTINATION_FOLDER, noteKey)
|
const attachmentFolder = path.join(targetStorage.path, DESTINATION_FOLDER, noteKey)
|
||||||
|
|||||||
Reference in New Issue
Block a user