Skip to content

Commit

Permalink
[Format] Auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nnichols authored and github-actions[bot] committed Oct 13, 2024
1 parent 96d1c54 commit 8436686
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/leiningen/sealog/impl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
[leiningen.sealog.types.config :as config]
[spec-tools.core :as st]))


(defn select-config
"Select the configuration to use with the following precedence:
- The `:sealog` key in project.clj
Expand All @@ -24,7 +25,8 @@
config-file-exists? (io/read-edn-file! config/config-file ::config/config)
backup-config-file-exists? (io/read-edn-file! config/backup-config-file ::config/config)
:else (do (main/info "No configuration file found. Assuming default configuration.")
config/default-config))))
config/default-config))))


(defn load-config!
"Load the configuration file with the following precedence:
Expand Down
1 change: 1 addition & 0 deletions src/leiningen/sealog/types/config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"The default name of the configuration file."
".sealog/config.edn")


(def ^:const backup-config-file
"The secondary name of the configuration file."
".wallbrew/sealog/config.edn")
Expand Down

0 comments on commit 8436686

Please sign in to comment.