mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Swift: fix wrong condition for log
This commit is contained in:
@@ -41,7 +41,7 @@ static void archiveFile(const SwiftExtractorConfiguration& config, swift::Source
|
||||
|
||||
std::error_code ec;
|
||||
fs::copy(source, destination, fs::copy_options::overwrite_existing, ec);
|
||||
if (!ec) {
|
||||
if (ec) {
|
||||
LOG_INFO(
|
||||
"Cannot archive source file {} -> {}, probably a harmless race with another process ({})",
|
||||
source, destination, ec);
|
||||
|
||||
Reference in New Issue
Block a user