Use printVersion instead

This commit is contained in:
Yui T committed 2015-11-10 17:36:37 -08:00
1 parent fb97e2f745
commit fe3fb17854
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ namespace ts {
}
if (commandLine.options.version) {
reportDiagnostic(createCompilerDiagnostic(Diagnostics.Version_0, ts.version));
printVersion();
return sys.exit(ExitStatus.Success);
}