Move cljs-dependent definitions into one block
This commit is contained in:
parent
b5d1461fa1
commit
71b042b798
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@
|
|||
"gitea/ingress.yaml" (rc/inline "gitea/ingress.yaml")
|
||||
"gitea/services.yaml" (rc/inline "gitea/services.yaml")
|
||||
"gitea/volumes.yaml" (rc/inline "gitea/volumes.yaml")
|
||||
(throw (js/Error. "Undefined Resource!")))))
|
||||
|
||||
#?(:cljs
|
||||
(throw (js/Error. "Undefined Resource!"))))
|
||||
(defmethod yaml/load-as-edn :gitea [resource-name]
|
||||
(yaml/from-string (yaml/load-resource resource-name))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue