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

Bug: ultralist e #268

Open
Mooie opened this issue Mar 13, 2023 · 0 comments · Fixed by igbanam/ultralist#1 · May be fixed by #270
Open

Bug: ultralist e #268

Mooie opened this issue Mar 13, 2023 · 0 comments · Fixed by igbanam/ultralist#1 · May be fixed by #270

Comments

@Mooie
Copy link

Mooie commented Mar 13, 2023

Typing "ultralist e" with no further arguments throws an error with the following output:

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/ultralist/ultralist/cmd.init.7.func1(0x140001bedc0, {0x10353dd50, 0x0, 0x0})
github.com/ultralist/ultralist/cmd/edit.go:44 +0x224
github.com/spf13/cobra.(*Command).execute(0x140001bedc0, {0x10353dd50, 0x0, 0x0})
github.com/spf13/[email protected]/command.go:846 +0x640
github.com/spf13/cobra.(*Command).ExecuteC(0x103504d80)
github.com/spf13/[email protected]/command.go:950 +0x404
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/[email protected]/command.go:887
github.com/ultralist/ultralist/cmd.Execute()
github.com/ultralist/ultralist/cmd/root.go:23 +0x30
main.main()
github.com/ultralist/ultralist/main.go:8 +0x20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant