From 378e5c39417721f0bb92d984c17130db54ee7bd5 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 8 Dec 2015 13:55:59 -0800 Subject: [PATCH] Add full path to spec md file in generate-spec target --- Jakefile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jakefile.js b/Jakefile.js index 398b897097d..beb16d2886f 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -544,7 +544,8 @@ compileFile(word2mdJs, // The generated spec.md; built for the 'generate-spec' task file(specMd, [word2mdJs, specWord], function () { var specWordFullPath = path.resolve(specWord); - var cmd = "cscript //nologo " + word2mdJs + ' "' + specWordFullPath + '" ' + specMd; + var specMDFullPath = path.resolve(specMd); + var cmd = "cscript //nologo " + word2mdJs + ' "' + specWordFullPath + '" ' + '"' + specMDFullPath + '"'; console.log(cmd); child_process.exec(cmd, function () { complete();