goadesign / goa

🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
https://goa.design
MIT License
5.62k stars 557 forks source link

Panic in main #3473

Closed zenbigjoe closed 6 months ago

zenbigjoe commented 7 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) }

raphael commented 7 months ago

Thanks, what was the command line that caused the panic?

zenbigjoe commented 6 months ago

System upgrade to windows 11 helped for me.