Skip to content

Commit

Permalink
Appease rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Mar 5, 2024
1 parent 9210a2e commit de109b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bootsnap.rb
Expand Up @@ -156,7 +156,7 @@ def enabled?(key)
!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
Expand Down

0 comments on commit de109b2

Please sign in to comment.