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

Fix jq: error (at <stdin>:16): Cannot use null (null) as object key error on empty line in labels file #606

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

bozaro
Copy link
Contributor

@bozaro bozaro commented Jun 1, 2024

This error also occurs when a file with labels ends with an EOL character.

Fix #613

@thesayyn
Copy link
Collaborator

thesayyn commented Jun 6, 2024

Great!, do you mind adding a test assertion target to https://github.com/bazel-contrib/rules_oci/tree/2.x/examples/assertion?

@thesayyn thesayyn merged commit 65f0552 into bazel-contrib:2.x Jun 7, 2024
14 checks passed
@bozaro bozaro deleted the fix-labels-empty-line branch June 7, 2024 20:48
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

Successfully merging this pull request may close these issues.

2 participants