mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -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]
|
||||
[app.common.data :as d]
|
||||
[app.common.flags :as flags]
|
||||
[app.common.pprint :as pp]
|
||||
[app.common.schema :as sm]
|
||||
[app.common.spec :as us]
|
||||
[app.common.version :as v]
|
||||
[cljs.core :as c]
|
||||
[cuerdas.core :as str]))
|
||||
|
@ -64,8 +62,7 @@
|
|||
data (sm/decode schema:config data sm/default-transformer)]
|
||||
|
||||
(when-not (sm/validate schema:config data)
|
||||
(pp/pprint (-> (sm/explain-data schema:config data)
|
||||
(sm/humanize)))
|
||||
(println (sm/humanize-data schema:config data))
|
||||
(process/exit -1))
|
||||
|
||||
data))
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
(:require
|
||||
["child_process" :as proc]
|
||||
["fs" :as fs]
|
||||
["os" :as os]
|
||||
["path" :as path]
|
||||
[app.common.exceptions :as ex]
|
||||
[app.common.logging :as l]
|
||||
|
|
Loading…
Reference in a new issue