Skip to content

Commit

Permalink
Merge pull request #104 from onoga/master
Browse files Browse the repository at this point in the history
fixed #hostname, broken in 1.1.4
  • Loading branch information
kauppilainen authored Aug 5, 2024
2 parents b860d22 + 43dcc77 commit 0873b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aero/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@

(defmethod eval-tagged-literal 'hostname
[tl {:keys [hostname] :as opts} env ks]
(expand-case (or hostname #?(:clj (env "HOSTNAME")
(expand-case (or hostname #?(:clj (get-env "HOSTNAME")
:cljs (os/hostname)))
tl opts env ks))

Expand Down

0 comments on commit 0873b19

Please sign in to comment.