From fe3fb178544d4600fe70248b7ce0797fd0099ce5 Mon Sep 17 00:00:00 2001 From: Yui T Date: Tue, 10 Nov 2015 17:36:37 -0800 Subject: [PATCH] Use printVersion instead --- src/compiler/tsc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tsc.ts b/src/compiler/tsc.ts index 9d79d435a04..636f76b3799 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -180,7 +180,7 @@ namespace ts { } if (commandLine.options.version) { - reportDiagnostic(createCompilerDiagnostic(Diagnostics.Version_0, ts.version)); + printVersion(); return sys.exit(ExitStatus.Success); }