-
Notifications
You must be signed in to change notification settings - Fork 277
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
nil reference exception if localization text is empty #207
Comments
MJacred
pushed a commit
to cubiest/go-i18n
that referenced
this issue
Jan 3, 2020
MJacred
pushed a commit
to cubiest/go-i18n
that referenced
this issue
Jan 3, 2020
MJacred
pushed a commit
to cubiest/go-i18n
that referenced
this issue
Jan 3, 2020
MJacred
pushed a commit
to cubiest/go-i18n
that referenced
this issue
Jan 3, 2020
MJacred
added a commit
to cubiest/go-i18n
that referenced
this issue
Jan 3, 2020
MJacred
added a commit
to cubiest/go-i18n
that referenced
this issue
Jan 3, 2020
MJacred
added a commit
to cubiest/go-i18n
that referenced
this issue
Jan 9, 2020
MJacred
added a commit
to cubiest/go-i18n
that referenced
this issue
Jan 9, 2020
MJacred
added a commit
to cubiest/go-i18n
that referenced
this issue
Jan 9, 2020
nicksnyder
pushed a commit
that referenced
this issue
Sep 28, 2020
mmosta
pushed a commit
to agilebits/go-i18n
that referenced
this issue
Nov 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction steps:
have a localization file, e.g. active.en.toml, with the content
Test = ""
and run the following command in your terminal in the appropriate directory:goi18n merge active.*.toml
to generate your updated
translate.*.toml
files.Analysis
The execution of the above mentioned command will cause a nil reference exception here
go-i18n/v2/goi18n/merge_command.go
Line 132 in 26334ab
because a nil value was added here
go-i18n/v2/goi18n/merge_command.go
Line 128 in 26334ab
The text was updated successfully, but these errors were encountered: