Skip to content

Commit 3fca253

Browse files
committed
Swift: fix copy option
1 parent 22db493 commit 3fca253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/SwiftExtractor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static void archiveFile(const SwiftExtractorConfiguration& config, swift::Source
4141
ensureDirectory("source archive destination", dstFilePath.parent_path());
4242

4343
std::error_code ec;
44-
fs::copy(srcFilePath, dstFilePath, fs::copy_options::skip_existing, ec);
44+
fs::copy(srcFilePath, dstFilePath, fs::copy_options::overwrite_existing, ec);
4545

4646
if (ec) {
4747
std::cerr << "Cannot archive source file " << srcFilePath << " -> " << dstFilePath << ": "

0 commit comments

Comments
 (0)