0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00

Allow debug in for release build

This commit is contained in:
alonso.torres 2023-01-23 14:03:28 +01:00
parent 3d064b804b
commit 1c54e9fa4d

View file

@ -131,9 +131,7 @@
(defn ^:export ^boolean debug?
[option]
(if *assert*
(boolean (@*debug* option))
false))
(boolean (@*debug* option)))
(defn ^:export toggle-debug [name] (let [option (keyword name)]
(if (debug? option)