Skip to content

Commit a18934d

Browse files
Address omitted return keyword.
1 parent ac56aa5 commit a18934d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ module ts {
411411
// The emitter emitted something, inform the caller if that happened in the presence
412412
// of diagnostics or not.
413413
if (diagnostics.length > 0 || emitOutput.diagnostics.length > 0) {
414-
ExitStatus.DiagnosticsPresent_OutputsGenerated;
414+
return ExitStatus.DiagnosticsPresent_OutputsGenerated;
415415
}
416416

417417
return ExitStatus.Success;

0 commit comments

Comments
 (0)