clj-commons / camel-snake-kebab

A Clojure[Script] library for word case conversions
https://clj-commons.org/camel-snake-kebab/
Eclipse Public License 1.0
475 stars 48 forks source link

Don't throw an AssertionError on nil input #70

Closed qerub closed 3 years ago

qerub commented 3 years ago

Preconditions throw an AssertionError if they fail.

Error:s are usually not caught/handled so this can have dire consequences if an unexpected nil value shows up (see #63).

This reverts commit 4b3d73094dfddf024c9d08eeee684a34b02e1df7.