Skip to content

Commit

Permalink
website building: fix prefix check to work after 2030
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Jun 12, 2024
1 parent 8939a93 commit e37af6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/website/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func getFoldersFromS3(dir string) ([]string, error) {
// Print the output
lines := strings.Split(string(stdout), "\n")
for _, line := range lines {
if line != "" && strings.HasPrefix(line, "202") {
if line != "" && strings.HasPrefix(line, "20") {
folders = append(folders, strings.TrimSuffix(line, "/"))
}
}
Expand Down

0 comments on commit e37af6f

Please sign in to comment.