1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix for the broken test

This commit is contained in:
ehhc
2018-05-10 22:30:13 +02:00
parent ff59af6b51
commit 03fd1e29e3
2 changed files with 7 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ function removeStorageAndNoteReferences (input, noteKey) {
function deleteAttachmentFolder (storageKey, noteKey) {
const storagePath = findStorage.findStorage(storageKey)
const noteAttachmentPath = path.join(storagePath.path, DESTINATION_FOLDER, noteKey)
sander.rimraf(noteAttachmentPath)
sander.rimrafSync(noteAttachmentPath)
}
module.exports = {