diff options
Diffstat (limited to 'lib/gitlab/ci/build/artifacts/metadata/entry.rb')
-rw-r--r-- | lib/gitlab/ci/build/artifacts/metadata/entry.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/ci/build/artifacts/metadata/entry.rb b/lib/gitlab/ci/build/artifacts/metadata/entry.rb index 7f4c750b6fd..c1d4d541efb 100644 --- a/lib/gitlab/ci/build/artifacts/metadata/entry.rb +++ b/lib/gitlab/ci/build/artifacts/metadata/entry.rb @@ -91,9 +91,7 @@ module Gitlab blank_node? || @entries.include?(@path) end - def empty? - children.empty? - end + delegate :empty?, to: :children def total_size descendant_pattern = %r{^#{Regexp.escape(@path)}} |