Be more forgiving of empty project map.
This commit is contained in:
parent
186911472f
commit
4df8ca6833
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@
|
||||||
port# (:port server#)
|
port# (:port server#)
|
||||||
repl-port-file# (apply io/file ~(repl-port-file-vector project))
|
repl-port-file# (apply io/file ~(repl-port-file-vector project))
|
||||||
;; TODO 3.0: remove legacy repl port support.
|
;; TODO 3.0: remove legacy repl port support.
|
||||||
legacy-repl-port# (if (.exists (io/file ~(:target-path project)))
|
legacy-repl-port# (if (.exists (io/file ~(:target-path project "")))
|
||||||
(io/file ~(:target-path project) "repl-port"))]
|
(io/file ~(:target-path project) "repl-port"))]
|
||||||
(when ~start-msg?
|
(when ~start-msg?
|
||||||
(println "nREPL server started on port" port# "on host" ~(:host cfg)
|
(println "nREPL server started on port" port# "on host" ~(:host cfg)
|
||||||
|
|
Loading…
Reference in a new issue