Address omitted return keyword.

This commit is contained in:
Cyrus Najmabadi
2015-03-07 12:27:20 -08:00
parent ac56aa50ae
commit a18934d6da

View File

@@ -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;