Skip to content

Commit fe3fb17

Browse files
author
Yui T
committed
Use printVersion instead
1 parent fb97e2f commit fe3fb17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ namespace ts {
180180
}
181181

182182
if (commandLine.options.version) {
183-
reportDiagnostic(createCompilerDiagnostic(Diagnostics.Version_0, ts.version));
183+
printVersion();
184184
return sys.exit(ExitStatus.Success);
185185
}
186186

0 commit comments

Comments
 (0)