Use printVersion instead

This commit is contained in:
Yui T
2015-11-10 17:36:37 -08:00
parent fb97e2f745
commit fe3fb17854

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);
}