We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
./jdownloader-cli links add --from-file links.txt panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]: github.com/rkosegi/jdownloader-cli/internal.parseLinksFromFile({0x7ffec1b35651?, 0x0?}) /home/rkosegi/git/ezz/public/jdownloader-cli/internal/links.go:151 +0x1f1 github.com/rkosegi/jdownloader-cli/internal.newAddLinksCommand.func1(0xc00018c900?, {0x84b8d6?, 0x2?, 0x2?}) /home/rkosegi/git/ezz/public/jdownloader-cli/internal/links.go:63 +0x5d github.com/spf13/cobra.(*Command).execute(0xc00018c900, {0xc0001386a0, 0x2, 0x2}) /home/rkosegi/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x862 github.com/spf13/cobra.(*Command).ExecuteC(0xc00018c000) /home/rkosegi/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd github.com/spf13/cobra.(*Command).Execute(0x8f2de0?) /home/rkosegi/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 +0x19 main.main() /home/rkosegi/git/ezz/public/jdownloader-cli/cmd/cli.go:25 +0x45
The text was updated successfully, but these errors were encountered:
Hi @Magisdn, thank you for bug report. Will look into it soon
Sorry, something went wrong.
Thanks!
Successfully merging a pull request may close this issue.
Hi!
./jdownloader-cli links add --from-file links.txt
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/rkosegi/jdownloader-cli/internal.parseLinksFromFile({0x7ffec1b35651?, 0x0?})
/home/rkosegi/git/ezz/public/jdownloader-cli/internal/links.go:151 +0x1f1
github.com/rkosegi/jdownloader-cli/internal.newAddLinksCommand.func1(0xc00018c900?, {0x84b8d6?, 0x2?, 0x2?})
/home/rkosegi/git/ezz/public/jdownloader-cli/internal/links.go:63 +0x5d
github.com/spf13/cobra.(*Command).execute(0xc00018c900, {0xc0001386a0, 0x2, 0x2})
/home/rkosegi/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc00018c000)
/home/rkosegi/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(0x8f2de0?)
/home/rkosegi/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 +0x19
main.main()
/home/rkosegi/git/ezz/public/jdownloader-cli/cmd/cli.go:25 +0x45
The text was updated successfully, but these errors were encountered: