Skip to content

Commit 9d39ee7

Browse files
committed
Fix jake lint on Windows
We need to pass `windowsVerbatimArguments: true` to `jake.exec` or it parses the arguments incorrectly and doesn't actually lint.
1 parent 6ab5d97 commit 9d39ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jakefile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ task("lint", ["build-rules"], () => {
13081308
: `Gulpfile.ts scripts/generateLocalizedDiagnosticMessages.ts "scripts/tslint/**/*.ts" "src/**/*.ts" --exclude "src/lib/*.d.ts"`;
13091309
const cmd = `node node_modules/tslint/bin/tslint ${files} --formatters-dir ./built/local/tslint/formatters --format autolinkableStylish`;
13101310
console.log("Linting: " + cmd);
1311-
jake.exec([cmd], { interactive: true }, () => {
1311+
jake.exec([cmd], { interactive: true, windowsVerbatimArguments: true }, () => {
13121312
if (fold.isTravis()) console.log(fold.end("lint"));
13131313
complete();
13141314
});

0 commit comments

Comments
 (0)