Skip to content

Commit

Permalink
docs: find_bash()
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Dec 12, 2024
1 parent 1fa826f commit d0b201e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Command> {
if env::var("AMBER_TEST_STRATEGY").is_ok_and(|value| value == "docker") {
Expand Down

0 comments on commit d0b201e

Please sign in to comment.