Fix bug 7878: Save command (#8140)

* first pass at fixing bug 7878, needs testing

* clarify default behaviour in comment

* fix property typo, tested and works as intended

* remove debugger
This commit is contained in:
Joshua Fontany
2024-04-11 21:54:46 +01:00
committed by GitHub
parent 9167b190d2
commit 5f74f4c2fa
2 changed files with 16 additions and 11 deletions
+3 -1
View File
@@ -43,7 +43,9 @@ Saves individual tiddlers in their raw text or binary format to the specified fi
directory: path.resolve(self.commander.outputPath),
pathFilters: [filenameFilter],
wiki: wiki,
fileInfo: {}
fileInfo: {
overwrite: true
}
});
if(self.commander.verbose) {
console.log("Saving \"" + title + "\" to \"" + fileInfo.filepath + "\"");