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

treewide: use boolToString function #24830

Merged
merged 1 commit into from Apr 13, 2017

Conversation

fpletz
Copy link
Member

@fpletz fpletz commented Apr 11, 2017

Motivation for this change

Lots of modules define a function to convert bools to "true" or "false", so there should be a function in the library for doing exactly that. Using toString on a bool returns "1" or "" instead.

@mention-bot
Copy link

@fpletz, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Ralith, @roblabla and @eqyiel to be potential reviewers.

Copy link
Member

@copumpkin copumpkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, thanks

@copumpkin
Copy link
Member

Okay with three approvals I'm just going to merge 😄

@copumpkin copumpkin merged commit 09a9a47 into NixOS:master Apr 13, 2017
@fpletz fpletz deleted the refactor/boolToString branch April 13, 2017 14:00
vcunat added a commit that referenced this pull request Apr 14, 2017
@vcunat
Copy link
Member

vcunat commented Apr 14, 2017

I really wonder how you managed to create babelToString :-D

@copumpkin
Copy link
Member

@vcunat lol I missed that, and no idea. @fpletz I'm curious, any ideas how that appeared? 😄

@fpletz
Copy link
Member Author

fpletz commented Apr 14, 2017

Ah, sorry, I've been messing with https://www.irif.fr/~jch/software/babel/ a lot lately. 😄

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

Successfully merging this pull request may close these issues.

None yet

7 participants