From d0b201ef06be52d1e92a3491890a26ad57a134ba Mon Sep 17 00:00:00 2001 From: lens0021 Date: Tue, 10 Dec 2024 06:28:03 +0900 Subject: [PATCH] docs: find_bash() --- src/compiler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler.rs b/src/compiler.rs index 9d748ea5..031622b7 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -322,6 +322,7 @@ impl AmberCompiler { return None; } + /// Return bash command. In some situations, mainly for testing purposes, this can return a command, for example, containerized execution which is not bash but behaves like bash. #[cfg(not(windows))] fn find_bash() -> Option { if env::var("AMBER_TEST_STRATEGY").is_ok_and(|value| value == "docker") {