Skip to content

Commit fcf872f

Browse files
committed
Update linting task to include harness sources
1 parent 53308fe commit fcf872f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Jakefile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,8 +730,9 @@ task("update-sublime", ["local", serverFile], function() {
730730
// run this task automatically
731731
desc("Runs tslint on the compiler sources");
732732
task("lint", [], function() {
733-
for(var i in compilerSources) {
734-
var f = compilerSources[i];
733+
var lintTagets = compilerSources.concat(harnessSources);
734+
for(var i in lintTagets) {
735+
var f = lintTagets[i];
735736
var cmd = 'tslint -f ' + f;
736737
exec(cmd,
737738
function() { console.log('SUCCESS: No linter errors'); },

0 commit comments

Comments
 (0)