Skip to content

Commit

Permalink
make tslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fisx committed Jul 1, 2014
1 parent a6bc053 commit cf79b5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tslint-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,12 @@ var processFile = (file: string) => {

var fileOrFiles = argv.f;

if (typeof fileOrFiles == 'string') {
if (typeof fileOrFiles === "string") {
processFile(fileOrFiles);
} else {
for (var ix in fileOrFiles) {
processFile(fileOrFiles[ix]);
if (fileOrFiles.hasOwnProperty(ix)) {
processFile(fileOrFiles[ix]);
}
}
}

0 comments on commit cf79b5f

Please sign in to comment.