Skip to content

Commit

Permalink
Check for indexed? in logger not tuple?
Browse files Browse the repository at this point in the history
  • Loading branch information
swlkr committed Apr 5, 2020
1 parent 1884b22 commit d9f47f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joy/logger.janet
Expand Up @@ -30,7 +30,7 @@

(defn- message [level msg &opt kv-pairs]
(string "at=" (surround level) " msg=" (surround msg)
(if (tuple? kv-pairs)
(if (indexed? kv-pairs)
(string " "
(string/join
(->> (partition 2 kv-pairs)
Expand Down

0 comments on commit d9f47f0

Please sign in to comment.