minor fix
This commit is contained in:
parent
d372af8077
commit
6465434dfa
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
"name": "mastodon-bot",
|
"name": "mastodon-bot",
|
||||||
"description": "Bot to publish twitter, tumblr or rss posts to an mastodon account.",
|
"description": "Bot to publish twitter, tumblr or rss posts to an mastodon account.",
|
||||||
"author": "Dmitri Sotnikov",
|
"author": "Dmitri Sotnikov",
|
||||||
"version": "1.10.5-1",
|
"version": "1.10.5-20210311180500",
|
||||||
"homepage": "https://github.com/yogthos/mastodon-bot",
|
"homepage": "https://github.com/yogthos/mastodon-bot",
|
||||||
"repository": "https://www.npmjs.com/package/mastodon-bot",
|
"repository": "https://www.npmjs.com/package/mastodon-bot",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -86,8 +86,8 @@
|
||||||
(print usage)
|
(print usage)
|
||||||
:default
|
:default
|
||||||
(let [config (infra/load-config config-location)]
|
(let [config (infra/load-config config-location)]
|
||||||
(when (not (s/valid? config? config))
|
(when (not (s/valid? cd/config? config))
|
||||||
(s/explain config? config)
|
(s/explain cd/config? config)
|
||||||
(infra/exit-with-error "Bad configuration"))
|
(infra/exit-with-error "Bad configuration"))
|
||||||
(transform! config)))))))
|
(transform! config)))))))
|
||||||
|
|
||||||
|
|
Reference in a new issue