From c0b6be9a1395b51eb0efd76b5c62e4c945d7e686 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 3 Apr 2013 21:10:57 +0100 Subject: [PATCH] Correct pesky missing brackets --- boot/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index d627dbe90..a7745396c 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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