Skip to content

Commit

Permalink
Fix level by flipping the env_level implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Sep 25, 2023
1 parent b0cb137 commit 6c88853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/opamStd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1683,8 +1683,8 @@ module Config = struct
env (function s ->
if s = "" then 0 else
match bool_of_string s with
| Some true -> 0
| Some false -> 1
| Some true -> 1
| Some false -> 0
| None -> int_of_string s)
var

Expand Down

0 comments on commit 6c88853

Please sign in to comment.