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

Normalization might fail if there are lists with empty items #475

Closed
raivil opened this issue Sep 27, 2022 · 2 comments
Closed

Normalization might fail if there are lists with empty items #475

raivil opened this issue Sep 27, 2022 · 2 comments

Comments

@raivil
Copy link

raivil commented Sep 27, 2022

Hey,
Not sure if this is a bug but I've experienced an issue with normalization failing when running specs on CI and wanted to share it here.
New values such as below were added to en and pt translations.

day_names:
    - 
    - Sunday
    - Monday

Note the empty list item (present on both languages).

That empty/blank item was added by mistake, and on development side I18n passed all the health/normalization checks. On CI it was failing the rspec "files are normalized" check.
This was a weird failure, not consistent thought environments, and after removing the invalid blank value it worked as expected.

Best,

@glebm
Copy link
Owner

glebm commented Sep 28, 2022

If the results on CI are different from the local results, it is usually because libyaml is a different version.

@glebm glebm closed this as completed Sep 28, 2022
@davidwessman
Copy link
Collaborator

@raivil you can check these instructions:
#355 (comment)

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

No branches or pull requests

3 participants