mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 15:48:28 +08:00
✨ Allow debug in for release build
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user