kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Add error message for recursively including a wiki
rodzic
631dd1cc5f
commit
829ab59a7d
|
@ -1018,6 +1018,8 @@ $tw.loadWikiTiddlers = function(wikiPath,parentPaths) {
|
|||
var resolvedIncludedWikiPath = path.resolve(wikiPath,includedWikiPath);
|
||||
if(parentPaths.indexOf(resolvedIncludedWikiPath) === -1) {
|
||||
$tw.loadWikiTiddlers(resolvedIncludedWikiPath,parentPaths);
|
||||
} else {
|
||||
console.log("Cannot recursively include wiki",resolvedIncludedWikiPath);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue