mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
Correct pesky missing brackets
This commit is contained in:
parent
dc00e584fb
commit
c0b6be9a13
@ -946,7 +946,7 @@ $tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
|
|||||||
pathname = path.resolve(filepath,tidInfo.file),
|
pathname = path.resolve(filepath,tidInfo.file),
|
||||||
text = fs.readFileSync(pathname,typeInfo ? typeInfo.encoding : "utf8");
|
text = fs.readFileSync(pathname,typeInfo ? typeInfo.encoding : "utf8");
|
||||||
tidInfo.fields.text = text;
|
tidInfo.fields.text = text;
|
||||||
tiddlers.push({tiddlers: tidInfo.fields});
|
tiddlers.push({tiddlers: [tidInfo.fields]});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// If not, read all the files in the directory
|
// If not, read all the files in the directory
|
||||||
|
Loading…
Reference in New Issue
Block a user