We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143d9d0 commit 2832f8dCopy full SHA for 2832f8d
src/output.rs
@@ -145,7 +145,10 @@ fn create_cooldown_sentinel(path: PathBuf) -> Result<(), Error> {
145
fn should_print_activation() -> bool {
146
let configured_to_print: bool;
147
match env::var("SHADOWENV_SILENT") {
148
- Ok(_) => configured_to_print = false,
+ Ok(value) => match value.to_lowercase().as_str() {
149
+ "0" | "false" | "no" | "" => configured_to_print = true,
150
+ _ => configured_to_print = false,
151
+ },
152
Err(_) => configured_to_print = true,
153
};
154
return is(Stream::Stderr) && configured_to_print;
0 commit comments