Cleanup a bit

This commit is contained in:
claytharrison 2025-07-19 16:42:39 +02:00
parent 2cfbe35ec2
commit e5596b4b4b

View file

@ -237,7 +237,7 @@ The parameters value is an alist as defined by
`micromamba--parse-script-buffer'." `micromamba--parse-script-buffer'."
(with-temp-buffer (with-temp-buffer
(if (file-remote-p default-directory) (if (file-remote-p default-directory)
(micromamba--safe-shell-command (list micromamba-executable "shell" "activate" prefix "-s" "bash") (current-buffer)) (micromamba--safe-shell-command (list micromamba-executable "shell" "activate" prefix "-s" "bash"))
(call-process micromamba-executable nil t nil (call-process micromamba-executable nil t nil
"shell" "activate" prefix "-s" "bash")) "shell" "activate" prefix "-s" "bash"))
(goto-char (point-min)) (goto-char (point-min))
@ -250,8 +250,7 @@ The parameters value is an alist as defined by
`micromamba--parse-script-buffer'." `micromamba--parse-script-buffer'."
(with-temp-buffer (with-temp-buffer
(if (file-remote-p default-directory) (if (file-remote-p default-directory)
(micromamba--safe-shell-command (list (micromamba--safe-shell-command (list micromamba-executable "run" "micromamba" "shell" "deactivate" "-s" "bash"))
micromamba-executable "run" "micromamba" "shell" "deactivate" "-s" "bash") (current-buffer))
(call-process micromamba-executable nil t nil (call-process micromamba-executable nil t nil
"shell" "deactivate" "-s" "bash")) "shell" "deactivate" "-s" "bash"))