We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d0cabf commit d0a8359Copy full SHA for d0a8359
src/lambdaisland/launchpad.clj
@@ -514,7 +514,7 @@
514
((run-process opts) ctx))
515
([{:keys [cmd prefix working-dir
516
background? timeout-ms check-exit-code? env
517
- color show-command?]
+ show-command?]
518
:or {working-dir "."
519
check-exit-code? true
520
show-command? true}}]
@@ -539,9 +539,8 @@
539
(.waitFor process timeout-ms TimeUnit/MILLISECONDS)
540
(.waitFor process))]
541
(when (and check-exit-code? (not= 0 exit))
542
- (do
543
- (println (str prefix) "Exited with non-zero exit code: " exit)
544
- (System/exit exit)))
+ (println prefix "Exited with non-zero exit code: " exit)
+ (System/exit exit))
545
ctx))))))
546
547
(defn start-clojure-process [{:keys [aliases nrepl-port] :as ctx}]
0 commit comments