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

add targetDir parameter to outputFormatter

This commit is contained in:
Evan Miller
2019-02-11 11:10:10 -05:00
parent 4d727b0af7
commit bc24acd057
2 changed files with 7 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ function exportNote (nodeKey, storageKey, noteContent, targetPath, outputFormatt
)
if (outputFormatter) {
exportedData = outputFormatter(exportedData, exportTasks)
exportedData = outputFormatter(exportedData, exportTasks, path.dirname(targetPath))
} else {
exportedData = Promise.resolve(exportedData)
}