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

unexpected behavior for built-in function join of jmespath #546

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

Uniplore-X
Copy link
Contributor

@Uniplore-X Uniplore-X commented Oct 25, 2024

Unexpected behavior join,when elements are empty strings ahead of the json array. For example: join(',', @)

["", "", "a", "","b", "c", ""]

current result is:

 a,,b,c,

but expected:

 ,,a,,b,c,

Unexpected behavior `join`,when elements are empty strings ahead of the json array. For example: `join(',', @)`
---
["", "", "a", "","b", "c", ""]
---
current result is: a,,b,c,
but expected: ,,a,,b,c,
@danielaparker danielaparker merged commit 5360845 into danielaparker:master Oct 25, 2024
54 checks passed
@danielaparker
Copy link
Owner

Thanks for this fix!

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