Skip to content

Commit

Permalink
Merge pull request pedestal#14 from pedestal/remove-read-string
Browse files Browse the repository at this point in the history
Remove unnecessary use of 'read-string'
  • Loading branch information
timewald committed Mar 29, 2013
2 parents 4421c29 + f55895e commit 9316082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors/src/cors/server.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(constantly (bootstrap/create-server (merge service/service opts))))) (constantly (bootstrap/create-server (merge service/service opts)))))


(defn -main [& args] (defn -main [& args]
(create-server [::bootstrap/port (read-string (first args))]) (create-server [::bootstrap/port (Long/valueOf (first args))])
(bootstrap/start service-instance)) (bootstrap/start service-instance))




Expand Down

0 comments on commit 9316082

Please sign in to comment.