mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-31 12:27:22 +02:00
1da85df08b
[why] CodeClimate does not allow 'complicated' functions. In a previous commit we added more if-s to a function that afterwards was rejected by CodeClimate. To fix that the if-s have been replaced with arithmetic. That is a) less readable than if-s b) has a bug [how] Change the code back to if-s but put them into yet another function. Hopefully we do not blow up CodeClimate's maximum number of functions per file limit now... Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>