Skip to content

Commit

Permalink
fix: tuple/select-attrs accidentally used local name instead of cloju…
Browse files Browse the repository at this point in the history
…re.core/name
  • Loading branch information
KingMob committed Apr 15, 2024
1 parent ebebfc1 commit 3823297
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/inferenceql/query/tuple.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
(map? x))

(defn select-attrs
"Retrives tuple `tup` with only the attributes in `attrs`."
"Retrieves tuple `tup` with only the attributes in `attrs`."
[tup attrs]
(let [names (into #{} (map name) attrs)]
(medley/filter-keys (comp names name)
(let [names (into #{} (map clojure.core/name) attrs)]
(medley/filter-keys (comp names clojure.core/name)

Check warning on line 28 in src/inferenceql/query/tuple.cljc

View check run for this annotation

Codecov / codecov/patch

src/inferenceql/query/tuple.cljc#L27-L28

Added lines #L27 - L28 were not covered by tests
tup)))

(defn ->map
Expand Down

0 comments on commit 3823297

Please sign in to comment.