Skip to content

Commit

Permalink
fix(merge_config.clj): use merge-with instead of merge to handle nest…
Browse files Browse the repository at this point in the history
…ed maps correctly
  • Loading branch information
ccfontes committed Dec 20, 2023
1 parent 1c5e431 commit 44369e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/bb/merge_config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
(defn -main [& cli-args]
(let [{:keys [src test out]} (cli/parse-opts cli-args {:spec cli-options})]
(spit out
(merge
(merge-with merge
(-> "bb.edn" slurp edn/read-string)
(or
(merge-with merge
Expand Down

0 comments on commit 44369e2

Please sign in to comment.