Skip to content

Commit 099ab0e

Browse files
committed
Swift: readd .trap suffix to swiftmodule trap files
1 parent 604328e commit 099ab0e

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
@@ -178,7 +178,7 @@ void codeql::extractSwiftFiles(const SwiftExtractorConfiguration& config,
178178
// TargetFile semantics will ensure any following run trying to extract that swiftmodule will just
179179
// skip doing it
180180
for (const auto& output : config.outputSwiftModules) {
181-
TargetFile::create(output, config.trapDir, config.getTempTrapDir());
181+
TargetFile::create(output + ".trap", config.trapDir, config.getTempTrapDir());
182182
}
183183
for (auto& module : modules) {
184184
bool isFromSourceFile = false;

0 commit comments

Comments
 (0)