style: format code

This commit is contained in:
Victor Berchet 2018-04-24 14:32:57 -07:00
parent e1c4930a1a
commit 9ed5fb6d2c
No known key found for this signature in database
GPG Key ID: 74ACF42B93D98910
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ export function compile({allowNonHermeticReads, allDepsCompiledWithBazel = true,
fs.writeFileSync(bazelOpts.manifest, manifest);
}
}
// If compilation fails unexpectedly, performCompilation returns no program.
// Make sure not to crash but report the diagnostics.
if (!program) return {program, diagnostics};