Pass non-empty string slice to example app Run (#1364)

so that it does not panic when run.
This commit is contained in:
Dan Buch 2022-04-22 06:35:07 -04:00 committed by GitHub
parent f04607a18b
commit 3b6436c36d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,5 +7,5 @@ import (
) )
func main() { func main() {
(&cli.App{}).Run([]string{}) (&cli.App{}).Run([]string{""})
} }