Skip to content

Commit

Permalink
Fix plugin bag names
Browse files Browse the repository at this point in the history
  • Loading branch information
Jermolene committed Oct 17, 2024
1 parent d0575d6 commit 5d6ddae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ function loadPluginBags() {
}
};
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar),function(folder) {
collectPublisherPlugins(folder,"plugin");
collectPublisherPlugins(folder,"plugins");
});
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVar),function(folder) {
collectPublisherPlugins(folder,"theme");
collectPublisherPlugins(folder,"themes");
});
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEnvVar),function(folder) {
collectPlugins(folder,"language");
collectPlugins(folder,"languages");
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ function loadWikiFolder(options) {
recipeList.push(makePluginBagName(type,publisher,name));
});
};
processPlugins("plugin",wikiInfo.plugins);
processPlugins("theme",wikiInfo.themes);
processPlugins("language",wikiInfo.languages);
processPlugins("plugins",wikiInfo.plugins);
processPlugins("themes",wikiInfo.themes);
processPlugins("languages",wikiInfo.languages);
// Create the recipe
recipeList.push(options.bagName);
$tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription);
Expand Down

0 comments on commit 5d6ddae

Please sign in to comment.