Skip to content

Commit 72e5d0c

Browse files
author
Kevin Paulisse
committed
Remove legacy exclusion of tags
1 parent 4babf7f commit 72e5d0c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/octocatalog-diff/catalog-diff/differ.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,7 @@ def filter_and_cleanup(catalog_resources)
268268
# The order of tags is unimportant. Sort this array to avoid false diffs if order changes.
269269
# Also if tags is empty, don't add. Most uses of catalog diff will want to ignore tags,
270270
# and if you're ignoring tags you won't get here anyway. Also, don't add empty array of tags.
271-
unless @opts[:ignore_tags]
272-
hsh[k] = v.sort if v.is_a?(Array) && v.any?
273-
end
271+
hsh[k] = v.sort if v.is_a?(Array) && v.any?
274272
elsif k == 'file' || k == 'line'
275273
# We don't care, for the purposes of catalog-diff, from which manifest and line this resource originated.
276274
# However, we may report this to the user, so we will keep it in here for now.

0 commit comments

Comments
 (0)