Swift: auto-flush logs at exit

This commit is contained in:
Paolo Tranquilli
2023-05-09 10:01:38 +02:00
parent 182a155ff2
commit 0d9dcb161f
3 changed files with 2 additions and 3 deletions

View File

@@ -65,7 +65,6 @@ void buildTarget(Target& target, bool dryRun) {
if (!exec(argv)) {
DIAGNOSE_ERROR(build_command_failed, "The detected build command failed (tried {})",
absl::StrJoin(argv, " "));
codeql::Log::flush();
exit(1);
}
}