minor fix

This commit is contained in:
jem 2021-03-11 18:07:01 +01:00
parent d372af8077
commit 6465434dfa
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"name": "mastodon-bot",
"description": "Bot to publish twitter, tumblr or rss posts to an mastodon account.",
"author": "Dmitri Sotnikov",
"version": "1.10.5-1",
"version": "1.10.5-20210311180500",
"homepage": "https://github.com/yogthos/mastodon-bot",
"repository": "https://www.npmjs.com/package/mastodon-bot",
"license": "MIT",

View file

@ -86,8 +86,8 @@
(print usage)
:default
(let [config (infra/load-config config-location)]
(when (not (s/valid? config? config))
(s/explain config? config)
(when (not (s/valid? cd/config? config))
(s/explain cd/config? config)
(infra/exit-with-error "Bad configuration"))
(transform! config)))))))