File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/SwiftDriver/IncrementalCompilation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public final class IncrementalCompilationState {
49
49
/// Can compare input mod times against this.
50
50
private let buildStartTime : Date
51
51
52
- /// In order to decide while postCompile jobs to run, need to compile their outputs against the build time
52
+ /// In order to decide while postCompile jobs to run, need to compare their outputs against the build time
53
53
private let buildEndTime : Date
54
54
55
55
private let fileSystem : FileSystem
@@ -310,7 +310,7 @@ extension IncrementalCompilationState {
310
310
public func canSkipPostCompile( job: Job ) -> Bool {
311
311
job. outputs. allSatisfy { output in
312
312
let fileModTime = ( try ? fileSystem. lastModificationTime ( for: output. file) ) ?? . distantFuture
313
- return fileModTime < buildEndTime}
313
+ return fileModTime <= buildEndTime}
314
314
}
315
315
}
316
316
You can’t perform that action at this time.
0 commit comments