Skip to content

Commit

Permalink
Fix file separator for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jermolene committed Apr 16, 2024
1 parent aafe775 commit ea318ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/tiddlywiki/multiwikiserver/modules/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function loadStore(store) {
for(var p=0; p<pluginFolders.length; p++) {
const pluginFolderName = pluginFolders[p];
if(!$tw.boot.excludeRegExp.test(pluginFolderName)) {
var pluginFields = $tw.loadPluginFolder(path.resolve(folder,"./" + pluginFolderName));
var pluginFields = $tw.loadPluginFolder(path.resolve(folder,pluginFolderName));
if(pluginFields && pluginFields.title) {
savePlugin(pluginFields,type,publisher,pluginFolderName);
}
Expand All @@ -79,7 +79,7 @@ function loadStore(store) {
for(var t=0; t<publisherFolders.length; t++) {
const publisherFolderName = publisherFolders[t];
if(!$tw.boot.excludeRegExp.test(publisherFolderName)) {
collectPlugins(path.resolve(folder,"./" + publisherFolderName),type,publisherFolderName);
collectPlugins(path.resolve(folder,publisherFolderName),type,publisherFolderName);
}
}
};
Expand Down

0 comments on commit ea318ba

Please sign in to comment.