Skip to content

Commit d345cec

Browse files
authored
Merge pull request #11381 from github/alexdenisov/swift-fix-remapping-regression
Swift: fix remapping bug
2 parents 29c47ad + 8f02463 commit d345cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/remapping/SwiftOpenInterception.macOS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void finalizeRemapping(
6161
}
6262
auto hash = originalHashFile(original);
6363
auto hashed = scratchDir / hash;
64-
if (!hash.empty() && fs::exists(hashed)) {
64+
if (!hash.empty() && fs::exists(patched)) {
6565
std::error_code ec;
6666
fs::create_symlink(/* target */ patched, /* symlink */ hashed, ec);
6767
if (ec) {

0 commit comments

Comments
 (0)