Fix rubocop offense in container registry path class

This commit is contained in:
Grzegorz Bizon 2017-03-28 16:20:16 +02:00
parent bdc1e1b9e0
commit 8584798886

View file

@ -8,8 +8,7 @@ module ContainerRegistry
end
def valid?
@nodes.size > 1 &&
@nodes.size < Namespace::NUMBER_OF_ANCESTORS_ALLOWED
@nodes.size > 1 && @nodes.size < Namespace::NUMBER_OF_ANCESTORS_ALLOWED
end
def components