Skip to content

Commit d0b201e

Browse files
committed
docs: find_bash()
1 parent 1fa826f commit d0b201e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler.rs

+1
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ impl AmberCompiler {
322322
return None;
323323
}
324324

325+
/// 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.
325326
#[cfg(not(windows))]
326327
fn find_bash() -> Option<Command> {
327328
if env::var("AMBER_TEST_STRATEGY").is_ok_and(|value| value == "docker") {

0 commit comments

Comments
 (0)