From 3b6436c36d7fdf927c5f53c916dbd9dded6cb0ed Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 22 Apr 2022 06:35:07 -0400 Subject: [PATCH] Pass non-empty string slice to example app `Run` (#1364) so that it does not panic when run. --- internal/example-cli/example-cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/example-cli/example-cli.go b/internal/example-cli/example-cli.go index 6fb84e2..06cbbff 100644 --- a/internal/example-cli/example-cli.go +++ b/internal/example-cli/example-cli.go @@ -7,5 +7,5 @@ import ( ) func main() { - (&cli.App{}).Run([]string{}) + (&cli.App{}).Run([]string{""}) }