9 lines
167 B
Text
9 lines
167 B
Text
|
(ns mastodon-bot.infra)
|
||
|
|
||
|
(defn js->edn [data]
|
||
|
(js->clj data :keywordize-keys true))
|
||
|
|
||
|
(defn exit-with-error [error]
|
||
|
(js/console.error error)
|
||
|
(js/process.exit 1))
|