Skip to content

Commit 66e44ee

Browse files
Merge pull request #27991 from manishbansal8843/gulpfile-correction-for-word2mdconversion
Correcting the order of passing arguments to word2mdJs for the task generating spec.md
2 parents 1a742e6 + 4190805 commit 66e44ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ gulp.task(
274274
// Generate Markdown spec
275275
const specMd = "doc/spec.md";
276276
gulp.task(specMd, /*help*/ false, [word2mdJs], () =>
277-
exec("cscript", ["//nologo", word2mdJs, path.resolve(specMd), path.resolve("doc/TypeScript Language Specification.docx")]));
277+
exec("cscript", ["//nologo", word2mdJs, path.resolve("doc/TypeScript Language Specification.docx"), path.resolve(specMd)]));
278278

279279
gulp.task(
280280
"generate-spec",
@@ -595,7 +595,7 @@ gulp.task(
595595
project.waitForWorkToStart().then(() => {
596596
source.cancel();
597597
});
598-
598+
599599
if (cmdLineOptions.tests || cmdLineOptions.failed) {
600600
await runConsoleTests(runJs, "mocha-fivemat-progress-reporter", /*runInParallel*/ false, /*watchMode*/ true, source.token);
601601
}

0 commit comments

Comments
 (0)