From 28b8141c6b637237a925d920fba0e1659c040e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Vi=E1=BB=87t=20H=C6=B0ng?= Date: Thu, 29 Aug 2019 10:21:53 +1200 Subject: [PATCH] fixed test --- browser/main/lib/dataApi/attachmentManagement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/lib/dataApi/attachmentManagement.js b/browser/main/lib/dataApi/attachmentManagement.js index f443c7ca..971ae812 100644 --- a/browser/main/lib/dataApi/attachmentManagement.js +++ b/browser/main/lib/dataApi/attachmentManagement.js @@ -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)