remove extra call to getSourceFile

This commit is contained in:
Mohamed Hegazy 2014-11-17 13:07:17 -08:00
parent 4c2f5d159c
commit ff2e4fa8a7

View File

@ -2334,7 +2334,7 @@ module ts {
filename = normalizeSlashes(filename);
return program.getDiagnostics(getSourceFile(filename).getSourceFile());
return program.getDiagnostics(getSourceFile(filename));
}
/**