From de109b2e8822258e1a0a9d8956cc714fb8703f9c Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Tue, 5 Mar 2024 06:39:32 -0500 Subject: [PATCH] Appease rubocop --- lib/bootsnap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootsnap.rb b/lib/bootsnap.rb index 2c100a1..1629928 100644 --- a/lib/bootsnap.rb +++ b/lib/bootsnap.rb @@ -156,7 +156,7 @@ module Bootsnap !ENV["DISABLE_#{key}"] end - def bool_env(key, default = false) + def bool_env(key, default: false) value = ENV.fetch(key) { default } !["0", "false", false].include?(value) end