Merge pull request #1465 from fredericksgary/cleanup

Don't call concat
This commit is contained in:
Jean Niklas L'orange 2014-03-08 18:04:38 +01:00
commit 291b09008d

View file

@ -73,7 +73,7 @@
;; move other source/javadoc/etc references into longer help.
:welcome (list 'println (slurp (io/resource "repl-welcome")))}
opts)
(apply dissoc opts (concat [:init] (if attach [:host :port])))
(apply dissoc opts :init (if attach [:host :port]))
(merge opts (cond attach {:attach (str attach)}
port {:port port}
:else {}))