1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};