Skip to content

Commit 4190805

Browse files
Corrected the order of passing arguments to word2mdJs
1 parent b64d08a commit 4190805

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const exec = require("./scripts/build/exec");
2626
const browserify = require("./scripts/build/browserify");
2727
const prepend = require("./scripts/build/prepend");
2828
const { removeSourceMaps } = require("./scripts/build/sourcemaps");
29-
const { CancellationTokenSource, CancelError, delay, Semaphore } = require("prex");
29+
const { CancellationTokenSource, CancelError, delay, Semaphore } = require("prex");
3030
const { libraryTargets, generateLibs } = require("./scripts/build/lib");
3131
const { runConsoleTests, cleanTestDirs, writeTestConfigFile, refBaseline, localBaseline, refRwcBaseline, localRwcBaseline } = require("./scripts/build/tests");
3232

@@ -273,7 +273,7 @@ gulp.task(
273273
// Generate Markdown spec
274274
const specMd = "doc/spec.md";
275275
gulp.task(specMd, /*help*/ false, [word2mdJs], () =>
276-
exec("cscript", ["//nologo", word2mdJs, path.resolve(specMd), path.resolve("doc/TypeScript Language Specification.docx")]));
276+
exec("cscript", ["//nologo", word2mdJs, path.resolve("doc/TypeScript Language Specification.docx"), path.resolve(specMd)]));
277277

278278
gulp.task(
279279
"generate-spec",
@@ -585,7 +585,7 @@ gulp.task(
585585
project.waitForWorkToStart().then(() => {
586586
source.cancel();
587587
});
588-
588+
589589
if (cmdLineOptions.tests || cmdLineOptions.failed) {
590590
await runConsoleTests(runJs, "mocha-fivemat-progress-reporter", /*runInParallel*/ false, /*watchMode*/ true, source.token);
591591
}

0 commit comments

Comments
 (0)