From a18934d6da7cf31c33fab65dee2ac4e2c277646b Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Sat, 7 Mar 2015 12:27:20 -0800 Subject: [PATCH] Address omitted return keyword. --- 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 c4422e12bf6..ac5f9df8c4c 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -411,7 +411,7 @@ module ts { // The emitter emitted something, inform the caller if that happened in the presence // of diagnostics or not. if (diagnostics.length > 0 || emitOutput.diagnostics.length > 0) { - ExitStatus.DiagnosticsPresent_OutputsGenerated; + return ExitStatus.DiagnosticsPresent_OutputsGenerated; } return ExitStatus.Success;