lib/nanoc/base/compilation/compiler_dsl.rb in nanoc-4.0.0 vs lib/nanoc/base/compilation/compiler_dsl.rb in nanoc-4.0.1

- old
+ new

@@ -264,11 +264,13 @@ when 'glob' Nanoc::Int::Pattern.from(arg) when 'legacy' Nanoc::Int::Pattern.from(identifier_to_regex(arg)) else - raise Nanoc::Int::Errors::GenericTrivial, - "Invalid string_pattern_type: #{@config[:string_pattern_type]}" + raise( + Nanoc::Int::Errors::GenericTrivial, + "Invalid string_pattern_type: #{@config[:string_pattern_type]}", + ) end end private