Fix 'brew style' offenses
This commit is contained in:
parent
b7a51eab6b
commit
be68f3d7b4
@ -44,10 +44,9 @@ module Hbc
|
|||||||
|
|
||||||
@format = :to_yaml if yaml?
|
@format = :to_yaml if yaml?
|
||||||
|
|
||||||
unless DSL::DSL_METHODS.include?(stanza)
|
return if DSL::DSL_METHODS.include?(stanza)
|
||||||
raise ArgumentError, "Illegal stanza: '#{stanza}'"
|
raise ArgumentError, "Illegal stanza: '#{stanza}'"
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
def run
|
def run
|
||||||
if ARTIFACTS.include?(stanza)
|
if ARTIFACTS.include?(stanza)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user