mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix off by one conditional
This commit is contained in:
parent
b957e670e2
commit
48c0921cd2
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ macro_rules! dbg_set {
|
|||
#[cfg(debug_assertions)]
|
||||
{
|
||||
let flag = std::env::var($flag);
|
||||
flag.as_deref() != Ok("0")
|
||||
flag.is_ok() && flag.as_deref() != Ok("0")
|
||||
}
|
||||
}};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue