Skip to content

Commit

Permalink
emacsformatize it
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Silva committed Apr 2, 2024
1 parent 2364bb2 commit 0839d21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/triangulum/utils.clj
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
```"
[fmt-str m]
(let [handlebar #"\{\{([^\}]+)\}\}"
fmt-keys (re-seq handlebar fmt-str)
m (update-vals m (fnil identity ""))
values (map #(m (-> % (second) (snake->kebab) (keyword))) fmt-keys)]
fmt-keys (re-seq handlebar fmt-str)
m (update-vals m (fnil identity ""))
values (map #(m (-> % (second) (snake->kebab) (keyword))) fmt-keys)]
(apply format (str/replace fmt-str handlebar "%s") values)))

(defn parse-as-sh-cmd
Expand Down

0 comments on commit 0839d21

Please sign in to comment.