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 {
9595 // just say 50 toolchains ago. To get a few weeks worth. This is easier than
9696 // writing dates a lot.
9797 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 {
9999 log ( " Failed to find tag with date: \( oldDateAsDate) " )
100100 fatalError ( )
101101 }
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ struct RunToolchains: AsyncParsableCommand {
8080 let tags = try ! await getTagsFromSwiftRepo ( branch: branch)
8181
8282 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 {
8484 log ( " Failed to find tag with date: \( date) " )
8585 fatalError ( )
8686 }
You can’t perform that action at this time.
0 commit comments