for...in not for...of

This commit is contained in:
Dan Quirk 2015-07-09 16:43:33 -07:00
parent a80a4ba0a4
commit c363dec9af

View File

@ -730,7 +730,8 @@ task("update-sublime", [serverFile], function() {
// run this task automatically
desc("Runs tslint on the compiler sources");
task("lint", [], function() {
for(var f of compilerSources) {
for(var i in compilerSources) {
var f = compilerSources[i];
var cmd = 'tslint -f ' + f;
exec(cmd,
function() { console.log('SUCCESS: No linter errors'); },