fix: java.sh -> babashka.process/shell
Previously, the rebuild command would not report to stdout/stderr.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
(ns sydnix-cli.commands.rebuild
|
||||
(:require
|
||||
[clojure.java.shell :refer [sh]]
|
||||
[babashka.process :as p]
|
||||
[sydnix-cli.commands.help :refer [adorn-with-help-option*]]))
|
||||
|
||||
(def command-options-spec
|
||||
@@ -16,7 +16,7 @@
|
||||
(or args ["switch"])
|
||||
["--flake" (:flake opts)])]
|
||||
(apply println "$" rebuild-cmd)
|
||||
(apply sh rebuild-cmd)))
|
||||
(apply p/shell {:continue true} rebuild-cmd)))
|
||||
|
||||
(def commands
|
||||
[{:cmds ["rebuild"]
|
||||
|
||||
Reference in New Issue
Block a user