remove warning
This commit is contained in:
parent
1a79eacefe
commit
c6e67366d9
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,6 @@
|
||||||
[clojure.string :as cs]
|
[clojure.string :as cs]
|
||||||
[clojure.tools.reader.edn :as edn]
|
[clojure.tools.reader.edn :as edn]
|
||||||
[expound.alpha :as expound]
|
[expound.alpha :as expound]
|
||||||
[clojure.java.io :as io]
|
|
||||||
[dda.k8s-mastodon-bot.core :as core]))
|
[dda.k8s-mastodon-bot.core :as core]))
|
||||||
|
|
||||||
(def usage
|
(def usage
|
||||||
|
@ -25,9 +24,10 @@
|
||||||
[config]
|
[config]
|
||||||
(expound/expound ::core/config config))
|
(expound/expound ::core/config config))
|
||||||
|
|
||||||
(defn invalid-args-msg [spec args]
|
(defn invalid-args-msg
|
||||||
(do (s/explain spec args)
|
[spec args]
|
||||||
(println (str "Bad commandline arguments\n" usage))))
|
(s/explain spec args)
|
||||||
|
(println (str "Bad commandline arguments\n" usage)))
|
||||||
|
|
||||||
(defn -main [& cmd-args]
|
(defn -main [& cmd-args]
|
||||||
(let [parsed-args-cmd (s/conform ::cmd-args cmd-args)]
|
(let [parsed-args-cmd (s/conform ::cmd-args cmd-args)]
|
||||||
|
|
Loading…
Reference in a new issue