Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
Check $PORT for default port value.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Sep 20, 2011
1 parent f83d040 commit 36f0e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swank/swank.clj
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@
(do (reset! stop true)
`(start-server ~@(apply concat opts)))))
:need-prompt (constantly false))))
([] (start-repl 4005)))
([] (start-repl (or (System/getenv "PORT") 4005))))

(def -main start-repl)

0 comments on commit 36f0e62

Please sign in to comment.