Skip to content

Fix bug in #build_header#13

Open
ydakuka wants to merge 1 commit intorwehresmann:masterfrom
ydakuka:fix-build-header
Open

Fix bug in #build_header#13
ydakuka wants to merge 1 commit intorwehresmann:masterfrom
ydakuka:fix-build-header

Conversation

@ydakuka
Copy link
Contributor

@ydakuka ydakuka commented Dec 3, 2025

It returns nil sometimes, so it should be fixed.

irb(main):001> { "qwe": 1, 'asd': 2 }.compact!
=> nil
irb(main):002> { "qwe": 1, 'asd': nil }.compact!
=> {:qwe=>1}

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.

1 participant