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