Merge pull request #27991 from manishbansal8843/gulpfile-correction-for-word2mdconversion
Correcting the order of passing arguments to word2mdJs for the task generating spec.md
This commit is contained in:
commit
66e44eef71
|
@ -274,7 +274,7 @@ gulp.task(
|
||||||
// Generate Markdown spec
|
// Generate Markdown spec
|
||||||
const specMd = "doc/spec.md";
|
const specMd = "doc/spec.md";
|
||||||
gulp.task(specMd, /*help*/ false, [word2mdJs], () =>
|
gulp.task(specMd, /*help*/ false, [word2mdJs], () =>
|
||||||
exec("cscript", ["//nologo", word2mdJs, path.resolve(specMd), path.resolve("doc/TypeScript Language Specification.docx")]));
|
exec("cscript", ["//nologo", word2mdJs, path.resolve("doc/TypeScript Language Specification.docx"), path.resolve(specMd)]));
|
||||||
|
|
||||||
gulp.task(
|
gulp.task(
|
||||||
"generate-spec",
|
"generate-spec",
|
||||||
|
@ -595,7 +595,7 @@ gulp.task(
|
||||||
project.waitForWorkToStart().then(() => {
|
project.waitForWorkToStart().then(() => {
|
||||||
source.cancel();
|
source.cancel();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (cmdLineOptions.tests || cmdLineOptions.failed) {
|
if (cmdLineOptions.tests || cmdLineOptions.failed) {
|
||||||
await runConsoleTests(runJs, "mocha-fivemat-progress-reporter", /*runInParallel*/ false, /*watchMode*/ true, source.token);
|
await runConsoleTests(runJs, "mocha-fivemat-progress-reporter", /*runInParallel*/ false, /*watchMode*/ true, source.token);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue