Merge pull request #5605 from Microsoft/useprintVersion

Use printVersion instead
This commit is contained in:
Yui committed 2015-11-19 13:50:46 -08:00
commit fc79104d0d
1 file changed
+1 -1
+1 -1
View File
@@ -280,7 +280,7 @@ namespace ts {
}
if (commandLine.options.version) {
reportDiagnostic(createCompilerDiagnostic(Diagnostics.Version_0, ts.version), /* compilerHost */ undefined);
printVersion();
return sys.exit(ExitStatus.Success);
}