1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

Fix load wiki folder command

This commit is contained in:
Jeremy Ruston 2024-09-20 13:57:54 +01:00
parent a9c124cffd
commit 0f4f60f978

View File

@ -84,7 +84,7 @@ function loadWikiFolder(options) {
// Create the recipe // Create the recipe
recipeList.push(options.bagName); recipeList.push(options.bagName);
$tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription); $tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription);
$tw.mws.store.saveTiddlersFromPath(path.resolve($tw.boot.corePath,$tw.config.editionsPath,options.wikiPath,$tw.config.wikiTiddlersSubDir),options.bagName); $tw.mws.store.saveTiddlersFromPath(path.resolve(options.wikiPath,$tw.config.wikiTiddlersSubDir),options.bagName);
} }
} }