Skip to content

Commit fc79104

Browse files
committed
Merge pull request #5605 from Microsoft/useprintVersion
Use printVersion instead
2 parents b1c8245 + adc6d11 commit fc79104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ namespace ts {
280280
}
281281

282282
if (commandLine.options.version) {
283-
reportDiagnostic(createCompilerDiagnostic(Diagnostics.Version_0, ts.version), /* compilerHost */ undefined);
283+
printVersion();
284284
return sys.exit(ExitStatus.Success);
285285
}
286286

0 commit comments

Comments
 (0)