-
Notifications
You must be signed in to change notification settings - Fork 7
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
Getting runtime error while want to see help for 'date' #63
Labels
Comments
@oltoko thank you for such a great report! I'll try to get to it as soon as I can! |
@lucapette I took a quick look and it seems to be related to generators which take arguments. $ fakedata -g int
Description: positive integer between 1 and 1000
Example:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x112b8ad]
goroutine 1 [running]:
main.main()
/Users/lucapette/src/github.com/lucapette/fakedata/main.go:127 +0x9dd
$ fakedata -g enum
Description: value from an enum. By default, the enum is foo,bar,baz. It accepts a list of comma-separated values
Example:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x112b8ad]
goroutine 1 [running]:
main.main()
/Users/lucapette/src/github.com/lucapette/fakedata/main.go:127 +0x9dd |
@oltoko I just released |
It worked! This was an instant fix, thank you very much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I want to see the description of the date generator and it gives me a runtime error!
Steps To Reproduce
Use Version
v1.1.0
of fakedata installed withbrew install lucapette/tap/fakedata
on macOS 10.12.6.Type
fakedata -g date
into a Terminal.Expected result
The description of the date generator
Actual result
The following was printed in the Terminal:
The text was updated successfully, but these errors were encountered: