Correct pesky missing brackets

print-window-tiddler
Jeremy Ruston 2013-04-03 21:10:57 +01:00
rodzic dc00e584fb
commit c0b6be9a13
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -946,7 +946,7 @@ $tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
pathname = path.resolve(filepath,tidInfo.file),
text = fs.readFileSync(pathname,typeInfo ? typeInfo.encoding : "utf8");
tidInfo.fields.text = text;
tiddlers.push({tiddlers: tidInfo.fields});
tiddlers.push({tiddlers: [tidInfo.fields]});
});
} else {
// If not, read all the files in the directory