Closed zenbigjoe closed 6 months ago
Latest version
panic: runtime error: index out of range [1] with length 1 goroutine 1 [running]: main.main() main.go:25 +0x559
Seems to be os.Exit is missing after argument len check. if len(os.Args) == 1 { usage() os.Exit(0) }
Thanks, what was the command line that caused the panic?
System upgrade to windows 11 helped for me.
Latest version
panic: runtime error: index out of range [1] with length 1 goroutine 1 [running]: main.main() main.go:25 +0x559
Seems to be os.Exit is missing after argument len check. if len(os.Args) == 1 { usage() os.Exit(0) }