lib/nanoc/cli/error_handler.rb in nanoc-4.9.2 vs lib/nanoc/cli/error_handler.rb in nanoc-4.9.3
- old
+ new
@@ -157,10 +157,10 @@
def trivial?(error)
case error
when Nanoc::Int::Errors::GenericTrivial, Errno::EADDRINUSE
true
when LoadError
- GEM_NAMES.keys.include?(gem_name_from_load_error(error))
+ GEM_NAMES.key?(gem_name_from_load_error(error))
else
false
end
end