From bed5b42d9ad6fd74a4e859e5c0c4c6e7bf6731eb Mon Sep 17 00:00:00 2001 From: Andrew Casey Date: Tue, 13 Feb 2018 15:24:46 -0800 Subject: [PATCH] Fix `jake lint` ...by partially reverting d0ab1642fe7327f486b41d97e6c6f81e082403e0, which seems to have prevented jake from waiting for the output of linting. Mitigate the issue that that change was trying to mitigate (warning that scripts/generateLocalizedDiagnosticMessages.ts does not exist) by introducing a superfluous wildcard into the filter. TODO: follow up with tslint to figure out why an existing file is reported as not existing. --- Jakefile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jakefile.js b/Jakefile.js index b986d81dacc60..50cf668f4ee30 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -1305,7 +1305,7 @@ task("lint", ["build-rules"], () => { const files = fileMatcher ? `src/**/${fileMatcher}` - : `Gulpfile.ts scripts/generateLocalizedDiagnosticMessages.ts "scripts/tslint/**/*.ts" "src/**/*.ts" --exclude "src/lib/*.d.ts"`; + : "Gulpfile.ts 'scripts/*generateLocalizedDiagnosticMessages.ts' 'scripts/tslint/**/*.ts' 'src/**/*.ts' --exclude 'src/lib/*.d.ts'"; const cmd = `node node_modules/tslint/bin/tslint ${files} --formatters-dir ./built/local/tslint/formatters --format autolinkableStylish`; console.log("Linting: " + cmd); jake.exec([cmd], { interactive: true }, () => {