mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 22:49:01 -05:00
📎 Fix linter issues on exporter
This commit is contained in:
parent
aca5289b21
commit
7a33817c22
2 changed files with 1 additions and 5 deletions
|
@ -10,9 +10,7 @@
|
||||||
["process" :as process]
|
["process" :as process]
|
||||||
[app.common.data :as d]
|
[app.common.data :as d]
|
||||||
[app.common.flags :as flags]
|
[app.common.flags :as flags]
|
||||||
[app.common.pprint :as pp]
|
|
||||||
[app.common.schema :as sm]
|
[app.common.schema :as sm]
|
||||||
[app.common.spec :as us]
|
|
||||||
[app.common.version :as v]
|
[app.common.version :as v]
|
||||||
[cljs.core :as c]
|
[cljs.core :as c]
|
||||||
[cuerdas.core :as str]))
|
[cuerdas.core :as str]))
|
||||||
|
@ -64,8 +62,7 @@
|
||||||
data (sm/decode schema:config data sm/default-transformer)]
|
data (sm/decode schema:config data sm/default-transformer)]
|
||||||
|
|
||||||
(when-not (sm/validate schema:config data)
|
(when-not (sm/validate schema:config data)
|
||||||
(pp/pprint (-> (sm/explain-data schema:config data)
|
(println (sm/humanize-data schema:config data))
|
||||||
(sm/humanize)))
|
|
||||||
(process/exit -1))
|
(process/exit -1))
|
||||||
|
|
||||||
data))
|
data))
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
(:require
|
(:require
|
||||||
["child_process" :as proc]
|
["child_process" :as proc]
|
||||||
["fs" :as fs]
|
["fs" :as fs]
|
||||||
["os" :as os]
|
|
||||||
["path" :as path]
|
["path" :as path]
|
||||||
[app.common.exceptions :as ex]
|
[app.common.exceptions :as ex]
|
||||||
[app.common.logging :as l]
|
[app.common.logging :as l]
|
||||||
|
|
Loading…
Add table
Reference in a new issue