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

sem command breaks #23

Closed
mactsouk opened this issue Jul 2, 2018 · 1 comment
Closed

sem command breaks #23

mactsouk opened this issue Jul 2, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@mactsouk
Copy link
Contributor

mactsouk commented Jul 2, 2018

Apart from sem version that works, sem delete project S2, sem get projects and sem get secrets break:

The output of sem get secrets is the following:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x13a9fb1]

goroutine 1 [running]:
github.com/renderedtext/sem/cmd.RunGet(0x16d1840, 0xc420049110, 0x1, 0x1)
	/home/runner/workspace/src/github.com/renderedtext/sem/cmd/get.go:30 +0x71
github.com/renderedtext/sem/cmd.glob..func6(0x16d1840, 0xc420049110, 0x1, 0x1)
	/home/runner/workspace/src/github.com/renderedtext/sem/cmd/get.go:16 +0x49
github.com/spf13/cobra.(*Command).execute(0x16d1840, 0xc4200490d0, 0x1, 0x1, 0x16d1840, 0xc4200490d0)
	/home/runner/workspace/src/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/spf13/cobra.(*Command).ExecuteC(0x16d0540, 0x16f79da, 0xc42012bf38, 0xc42012bf40)
	/home/runner/workspace/src/github.com/spf13/cobra/command.go:852 +0x334
github.com/spf13/cobra.(*Command).Execute(0x16d0540, 0x0, 0x1)
	/home/runner/workspace/src/github.com/spf13/cobra/command.go:800 +0x2b
github.com/renderedtext/sem/cmd.Execute()
	/home/runner/workspace/src/github.com/renderedtext/sem/cmd/root.go:37 +0x31
main.main()
	/home/runner/workspace/src/github.com/renderedtext/sem/main.go:6 +0x20```
@shiroyasha shiroyasha added the bug Something isn't working label Jul 2, 2018
@shiroyasha
Copy link
Contributor

Fixed #24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants