Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Panic if there no flags and args given #15

Open
MindHunter86 opened this issue Jul 7, 2022 · 0 comments
Open

Panic if there no flags and args given #15

MindHunter86 opened this issue Jul 7, 2022 · 0 comments

Comments

@MindHunter86
Copy link
Owner

[vskomissar@0000nexus01 ~]$ ./NexusCloner-linux.amd64
panic: runtime error: slice bounds out of range [2:1]

goroutine 1 [running]:
github.com/MindHunter86/NexusCloner/cloner.(*nexus).initiate(0xc00016a000, 0x0, 0x0, 0x0, 0x2, 0x415242)
	/home/runner/work/NexusCloner/NexusCloner/cloner/nexus.go:52 +0x597
github.com/MindHunter86/NexusCloner/cloner.(*Cloner).Bootstrap(0xc000060380, 0xc00013a840, 0x0, 0x0)
	/home/runner/work/NexusCloner/NexusCloner/cloner/cloner.go:46 +0x11a
main.main.func1(0xc00013a840, 0xc00013a840, 0xc00011d24f)
	/home/runner/work/NexusCloner/NexusCloner/main.go:159 +0x13d
gopkg.in/urfave/cli%2ev1.HandleAction(0x7774e0, 0xc000013d40, 0xc00013a840, 0xc00006c3c0, 0x0)
	/home/runner/go/pkg/mod/gopkg.in/urfave/[email protected]/app.go:490 +0x82
gopkg.in/urfave/cli%2ev1.(*App).Run(0xc00007f6c0, 0xc0000121f0, 0x1, 0x1, 0x0, 0x0)
	/home/runner/go/pkg/mod/gopkg.in/urfave/[email protected]/app.go:264 +0x5f5
main.main()
	/home/runner/work/NexusCloner/NexusCloner/main.go:165 +0x1487

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant