File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ public struct Driver {
296
296
return ( $0. key, $0. value)
297
297
}
298
298
do {
299
- guard isFrontendArgSupported ( . scannerPrefixMapPaths ) || isFrontendArgSupported ( . scannerPrefixMap ) else {
299
+ guard isFrontendArgSupported ( . cacheReplayPrefixMap ) else {
300
300
return [ ]
301
301
}
302
302
if let sdkMapping = scannerPrefixMapSDK,
Original file line number Diff line number Diff line change @@ -1031,7 +1031,7 @@ extension Driver {
1031
1031
}
1032
1032
1033
1033
public mutating func addCacheReplayMapping( to commandLine: inout [ Job . ArgTemplate ] ) {
1034
- if isCachingEnabled && ( isFrontendArgSupported ( . scannerPrefixMapPaths ) || isFrontendArgSupported ( . scannerPrefixMap ) ) {
1034
+ if isCachingEnabled && isFrontendArgSupported ( . cacheReplayPrefixMap ) {
1035
1035
for (key, value) in prefixMapping {
1036
1036
commandLine. appendFlag ( " -cache-replay-prefix-map " )
1037
1037
if isFrontendArgSupported ( . scannerPrefixMapPaths) {
You can’t perform that action at this time.
0 commit comments