Skip to content

Commit

Permalink
Makes disable prelude environment variable case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrittain committed Oct 30, 2023
1 parent 25007c5 commit 59d6740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ fn main() -> Result<(), Error> {
}

if env::var("BUCKLE_PRELUDE_CHECK")
.map(|var| var != "NO")
.map(|var| var.to_uppercase() != "NO")
.unwrap_or(true)
{
// If we can't find the project root, just skip checking the prelude and call the buck2 binary
Expand Down

0 comments on commit 59d6740

Please sign in to comment.