Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when missing glob pattern #26

Open
yarbelk opened this issue Dec 23, 2016 · 0 comments
Open

crash when missing glob pattern #26

yarbelk opened this issue Dec 23, 2016 · 0 comments

Comments

@yarbelk
Copy link

yarbelk commented Dec 23, 2016

$ es dec --region ap-southeast-1 -- `which ep`  -- `which cat` *.env
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x57a020, 0xc420010250)
        /usr/lib/go/src/runtime/panic.go:500 +0x1a1
github.com/spf13/cobra.(*Command).ExecuteC(0xc4200ae240, 0x5a6859, 0xf, 0xc42007a46a)
        /home/me/go/src/github.com/spf13/cobra/command.go:671 +0x7b6
github.com/spf13/cobra.(*Command).Execute(0xc4200ae240, 0x5a500e, 0x7)
        /home/me/go/src/github.com/spf13/cobra/command.go:648 +0x2b
main.main()
        /home/me/go/src/github.com/kreuzwerker/envplate/bin/ep.go:71 +0x51d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant