File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
utils/swift_snapshot_tool/Sources/swift_snapshot_tool Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ struct BisectToolchains: AsyncParsableCommand {
95
95
// just say 50 toolchains ago. To get a few weeks worth. This is easier than
96
96
// writing dates a lot.
97
97
let oldDateAsDate = self . oldDateAsDate
98
- guard let goodTagIndex = tags. firstIndex ( where: { $0. tag. date ( branch: self . branch) < oldDateAsDate } ) else {
98
+ guard let goodTagIndex = tags. firstIndex ( where: { $0. tag. date ( branch: self . branch) <= oldDateAsDate } ) else {
99
99
log ( " Failed to find tag with date: \( oldDateAsDate) " )
100
100
fatalError ( )
101
101
}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ struct RunToolchains: AsyncParsableCommand {
80
80
let tags = try ! await getTagsFromSwiftRepo ( branch: branch)
81
81
82
82
let date = self . dateAsDate
83
- guard var tagIndex = tags. firstIndex ( where: { $0. tag. date ( branch: self . branch) < date } ) else {
83
+ guard var tagIndex = tags. firstIndex ( where: { $0. tag. date ( branch: self . branch) <= date } ) else {
84
84
log ( " Failed to find tag with date: \( date) " )
85
85
fatalError ( )
86
86
}
You can’t perform that action at this time.
0 commit comments