From 4c9a2726f35e56bf009c300736f486844fe23469 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 7 Sep 2022 20:43:47 +0200 Subject: [PATCH] Fix s2v_bool_bypass() --- src/formatters.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formatters.rs b/src/formatters.rs index fed591dc..2002f3c7 100644 --- a/src/formatters.rs +++ b/src/formatters.rs @@ -218,7 +218,7 @@ pub fn v2s_bool_bypass() -> Arc String + Send + Sync> { pub fn s2v_bool_bypass() -> Arc Option + Send + Sync> { Arc::new(|string| { let string = string.trim(); - if string.eq_ignore_ascii_case("bypass") { + if string.eq_ignore_ascii_case("bypassed") { Some(true) } else if string.eq_ignore_ascii_case("not bypassed") { Some(false)