Fix 'brew style' offenses

This commit is contained in:
Martin Schimandl 2017-10-04 06:03:13 +02:00
parent b7a51eab6b
commit be68f3d7b4

View File

@ -44,9 +44,8 @@ module Hbc
@format = :to_yaml if yaml?
unless DSL::DSL_METHODS.include?(stanza)
raise ArgumentError, "Illegal stanza: '#{stanza}'"
end
return if DSL::DSL_METHODS.include?(stanza)
raise ArgumentError, "Illegal stanza: '#{stanza}'"
end
def run