mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
📎 Fix linter issues.
This commit is contained in:
parent
b71d05935a
commit
6e08c6bc35
3 changed files with 4 additions and 10 deletions
|
@ -13,12 +13,9 @@
|
|||
[app.common.uuid :as uuid]
|
||||
[app.config :as cfg]
|
||||
[app.util.log4j :refer [update-thread-context!]]
|
||||
[clojure.pprint :refer [pprint]]
|
||||
[clojure.tools.logging :as log]
|
||||
[cuerdas.core :as str]
|
||||
[expound.alpha :as expound])
|
||||
(:import
|
||||
org.apache.logging.log4j.ThreadContext))
|
||||
[expound.alpha :as expound]))
|
||||
|
||||
(defn- explain-error
|
||||
[error]
|
||||
|
@ -39,7 +36,6 @@
|
|||
:hint (ex-message error)
|
||||
:data edata}
|
||||
|
||||
|
||||
(let [headers (:headers request)]
|
||||
{:user-agent (get headers "user-agent")
|
||||
:frontend-version (get headers "x-frontend-version" "unknown")})
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
|
||||
(ns app.util.log4j
|
||||
(:require
|
||||
[clojure.pprint :refer [pprint]]
|
||||
[clojure.tools.logging :as log])
|
||||
[clojure.pprint :refer [pprint]])
|
||||
(:import
|
||||
org.apache.logging.log4j.ThreadContext))
|
||||
|
||||
|
|
|
@ -10,15 +10,14 @@
|
|||
(ns app.worker
|
||||
"Async tasks abstraction (impl)."
|
||||
(:require
|
||||
[app.config :as cfg]
|
||||
[app.common.spec :as us]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cfg]
|
||||
[app.db :as db]
|
||||
[app.util.async :as aa]
|
||||
[app.util.time :as dt]
|
||||
[app.util.log4j :refer [update-thread-context!]]
|
||||
[app.util.time :as dt]
|
||||
[clojure.core.async :as a]
|
||||
[clojure.pprint :refer [pprint]]
|
||||
[clojure.spec.alpha :as s]
|
||||
[clojure.tools.logging :as log]
|
||||
[integrant.core :as ig]
|
||||
|
|
Loading…
Add table
Reference in a new issue