Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show/add-recipients! may have a misplaced final condclause #112

Open
rlbdv opened this issue Aug 24, 2021 · 0 comments
Open

show/add-recipients! may have a misplaced final condclause #112

rlbdv opened this issue Aug 24, 2021 · 0 comments

Comments

@rlbdv
Copy link

rlbdv commented Aug 24, 2021

I suspect :otherwise was intended to be inside the cond here:

(defn add-recipients! [jmsg rtype addrs charset]
(when addrs
(cond
(sequential? addrs)
(doseq [addr addrs]
(add-recipient! jmsg rtype addr charset)))
:otherwise
(add-recipient! jmsg rtype addrs charset))
jmsg)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant