lib/env.rb in markdown_exec-1.7 vs lib/env.rb in markdown_exec-1.8
- old
+ new
@@ -16,11 +16,10 @@
true
end
# :reek:UtilityFunction
def env_bool_false(name)
- !(val = (name && ENV.fetch(name,
- nil))).nil? && !(val.empty? || val == '0')
+ !(val = (name && ENV.fetch(name, nil))).nil? && !(val.empty? || val == '0')
end
# skip :reek:DataClump
# skip :reek:NilCheck
# skip :reek:UtilityFunction