mirror of
https://github.com/penpot/penpot.git
synced 2025-05-13 02:26:38 +02: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.common.uuid :as uuid]
|
||||||
[app.config :as cfg]
|
[app.config :as cfg]
|
||||||
[app.util.log4j :refer [update-thread-context!]]
|
[app.util.log4j :refer [update-thread-context!]]
|
||||||
[clojure.pprint :refer [pprint]]
|
|
||||||
[clojure.tools.logging :as log]
|
[clojure.tools.logging :as log]
|
||||||
[cuerdas.core :as str]
|
[cuerdas.core :as str]
|
||||||
[expound.alpha :as expound])
|
[expound.alpha :as expound]))
|
||||||
(:import
|
|
||||||
org.apache.logging.log4j.ThreadContext))
|
|
||||||
|
|
||||||
(defn- explain-error
|
(defn- explain-error
|
||||||
[error]
|
[error]
|
||||||
|
@ -39,7 +36,6 @@
|
||||||
:hint (ex-message error)
|
:hint (ex-message error)
|
||||||
:data edata}
|
:data edata}
|
||||||
|
|
||||||
|
|
||||||
(let [headers (:headers request)]
|
(let [headers (:headers request)]
|
||||||
{:user-agent (get headers "user-agent")
|
{:user-agent (get headers "user-agent")
|
||||||
:frontend-version (get headers "x-frontend-version" "unknown")})
|
:frontend-version (get headers "x-frontend-version" "unknown")})
|
||||||
|
|
|
@ -9,8 +9,7 @@
|
||||||
|
|
||||||
(ns app.util.log4j
|
(ns app.util.log4j
|
||||||
(:require
|
(:require
|
||||||
[clojure.pprint :refer [pprint]]
|
[clojure.pprint :refer [pprint]])
|
||||||
[clojure.tools.logging :as log])
|
|
||||||
(:import
|
(:import
|
||||||
org.apache.logging.log4j.ThreadContext))
|
org.apache.logging.log4j.ThreadContext))
|
||||||
|
|
||||||
|
|
|
@ -10,15 +10,14 @@
|
||||||
(ns app.worker
|
(ns app.worker
|
||||||
"Async tasks abstraction (impl)."
|
"Async tasks abstraction (impl)."
|
||||||
(:require
|
(:require
|
||||||
[app.config :as cfg]
|
|
||||||
[app.common.spec :as us]
|
[app.common.spec :as us]
|
||||||
[app.common.uuid :as uuid]
|
[app.common.uuid :as uuid]
|
||||||
|
[app.config :as cfg]
|
||||||
[app.db :as db]
|
[app.db :as db]
|
||||||
[app.util.async :as aa]
|
[app.util.async :as aa]
|
||||||
[app.util.time :as dt]
|
|
||||||
[app.util.log4j :refer [update-thread-context!]]
|
[app.util.log4j :refer [update-thread-context!]]
|
||||||
|
[app.util.time :as dt]
|
||||||
[clojure.core.async :as a]
|
[clojure.core.async :as a]
|
||||||
[clojure.pprint :refer [pprint]]
|
|
||||||
[clojure.spec.alpha :as s]
|
[clojure.spec.alpha :as s]
|
||||||
[clojure.tools.logging :as log]
|
[clojure.tools.logging :as log]
|
||||||
[integrant.core :as ig]
|
[integrant.core :as ig]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue