From 9fedf3865778fd3aa50c2f049c2b81061c8cd778 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 21 Oct 2014 19:28:38 +0100 Subject: [PATCH] Remove checking for missing wiki folders Thus undoing 744245ea3249446fd15f504190efb1d828935d01 because of #1002 --- boot/boot.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/boot/boot.js b/boot/boot.js index 94f63a51d..47077c3ac 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -1714,9 +1714,7 @@ $tw.boot.startup = function(options) { // If the first command line argument doesn't start with `--` then we // interpret it as the path to the wiki folder, which will otherwise default // to the current folder - var explicitWikiPath; if($tw.boot.argv[0] && $tw.boot.argv[0].indexOf("--") !== 0) { - explicitWikiPath = true; $tw.boot.wikiPath = $tw.boot.argv[0]; $tw.boot.argv = $tw.boot.argv.slice(1); } else { @@ -1764,9 +1762,6 @@ $tw.boot.startup = function(options) { $tw.loadTiddlersBrowser(); } else { $tw.loadTiddlersNode(); - if(!$tw.boot.wikiInfo && explicitWikiPath) { - return $tw.utils.error("Wiki folder '" + $tw.boot.wikiPath + "' is missing a 'tiddlywiki.info' file"); - } } // Unpack plugin tiddlers $tw.wiki.readPluginInfo();