Skip to content

Commit

Permalink
Prevent ugly error, fix #50
Browse files Browse the repository at this point in the history
  • Loading branch information
ivogabe committed Jan 12, 2015
1 parent 27faf58 commit 1f0799c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ export class Filter {
var file = this.getFile(filenames[i]);
if (file === undefined) {
console.log('gulp-typescript: Could not find file ' + filenames[i]);
} else {
files.push(file);
}
files.push(file);
}
return files;
}
Expand Down

0 comments on commit 1f0799c

Please sign in to comment.