From 93c29bd3883572ec7ba7404a673a0a5a37b1a879 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 3 Apr 2014 15:40:30 +0100 Subject: [PATCH] Fix missing require in filesystem adator --- plugins/tiddlywiki/filesystem/filesystemadaptor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tiddlywiki/filesystem/filesystemadaptor.js b/plugins/tiddlywiki/filesystem/filesystemadaptor.js index 28abd1de1..3410490ef 100644 --- a/plugins/tiddlywiki/filesystem/filesystemadaptor.js +++ b/plugins/tiddlywiki/filesystem/filesystemadaptor.js @@ -13,8 +13,8 @@ A sync adaptor module for synchronising with the local filesystem via node.js AP "use strict"; // Get a reference to the file system -var fs = !$tw.browser ? require("fs") : null; - +var fs = !$tw.browser ? require("fs") : null, + path = !$tw.browser ? require("path") : null; function FileSystemAdaptor(syncer) { var self = this;