Set to automatically run the most recent day

This commit is contained in:
2022-06-07 09:14:24 -05:00
parent 2f5dac4487
commit d2fbe85a71
2 changed files with 2 additions and 2 deletions

2
.vscode/launch.json vendored
View File

@ -12,7 +12,7 @@
"mode": "auto",
"program": "${workspaceFolder}",
"env": {},
"args": ["1"]
"args": []
}
]
}

View File

@ -29,7 +29,7 @@ var dayMap = map[int]day{
}
func main() {
arg := "1"
arg := strconv.Itoa(len(dayMap))
if len(os.Args) > 1 {
arg = os.Args[1]
}