mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
parent
870006d2b9
commit
1e3a41311d
@ -1537,7 +1537,7 @@ $tw.getLibraryItemSearchPaths = function(libraryPath,envVar) {
|
|||||||
var pluginPaths = [path.resolve($tw.boot.corePath,libraryPath)],
|
var pluginPaths = [path.resolve($tw.boot.corePath,libraryPath)],
|
||||||
env = process.env[envVar];
|
env = process.env[envVar];
|
||||||
if(env) {
|
if(env) {
|
||||||
Array.prototype.push.apply(pluginPaths,env.split(":"));
|
Array.prototype.push.apply(pluginPaths,env.split(path.delimiter));
|
||||||
}
|
}
|
||||||
return pluginPaths;
|
return pluginPaths;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user