1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-02 10:58:01 +00:00

include wiki in options sent to generateTiddlerFilePath

This adds options.wiki to the object sent to the generateTiddlerFilePath

The function generateTiddlerFilePath can take a wiki in the options object, but generateTiddlerFileInfo doesn't pass the wiki to it.
This commit is contained in:
jed
2019-07-03 12:11:10 +02:00
committed by GitHub
parent f42351e235
commit c202ef4201

View File

@@ -225,7 +225,8 @@ exports.generateTiddlerFileInfo = function(tiddler,options) {
fileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{
extension: contentTypeInfo.extension,
directory: options.directory,
pathFilters: options.pathFilters
pathFilters: options.pathFilters,
wiki: options.wiki
});
return fileInfo;
};