From cf59e7a71b4aadae0b4870ea1b705c8c9f2e1766 Mon Sep 17 00:00:00 2001 From: James Welford Anderson Date: Sat, 21 Feb 2015 06:49:34 +0900 Subject: [PATCH] re-add outputpath variable --- core/modules/commands/rendertiddlers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/commands/rendertiddlers.js b/core/modules/commands/rendertiddlers.js index 60c5b8702..782459e44 100644 --- a/core/modules/commands/rendertiddlers.js +++ b/core/modules/commands/rendertiddlers.js @@ -35,7 +35,8 @@ Command.prototype.execute = function() { wiki = this.commander.wiki, filter = this.params[0], template = this.params[1], - pathname = path.resolve(this.commander.outputPath,this.params[2]), + outputPath = this.commander.outputPath, + pathname = path.resolve(outputPath,this.params[2]), type = this.params[3] || "text/html", extension = this.params[4] || ".html", deleteDirectory = (this.params[5] || "") != "noclean",