Skip to content

Commit ddf3bdd

Browse files
committed
Satisfy clj-kondo
1 parent 5bc4413 commit ddf3bdd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/orchard/info.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
(defn clj-meta
6565
{:added "0.5"}
66-
[{:keys [dialect ns sym computed-ns unqualified-sym] :as opts}]
66+
[{:keys [dialect ns sym computed-ns unqualified-sym]}]
6767
{:pre [(= dialect :clj)]}
6868
(let [ns (or ns computed-ns)
6969
ns (or (when (some-> ns find-ns)

test/orchard/info_test.clj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,10 @@
470470

471471
(def some-var nil)
472472

473+
(def workaround
474+
"Prevents a clj-kondo warning."
475+
replace-first)
476+
473477
(deftest info-undefined-namespace-test
474478
(let [current-ns (-> ::_ namespace symbol)]
475479
(are [input expected] (= expected

0 commit comments

Comments
 (0)