mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-23 01:42:07 -06:00
remove extra call to getSourceFile
This commit is contained in:
parent
4c2f5d159c
commit
ff2e4fa8a7
@ -2334,7 +2334,7 @@ module ts {
|
||||
|
||||
filename = normalizeSlashes(filename);
|
||||
|
||||
return program.getDiagnostics(getSourceFile(filename).getSourceFile());
|
||||
return program.getDiagnostics(getSourceFile(filename));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user