File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lib/octocatalog-diff/catalog-diff Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -266,8 +266,7 @@ def filter_and_cleanup(catalog_resources)
266
266
hsh [ k ] = cleansed_param unless cleansed_param . nil? || cleansed_param . empty?
267
267
elsif k == 'tags'
268
268
# The order of tags is unimportant. Sort this array to avoid false diffs if order changes.
269
- # Also if tags is empty, don't add. Most uses of catalog diff will want to ignore tags,
270
- # and if you're ignoring tags you won't get here anyway. Also, don't add empty array of tags.
269
+ # Also if tags is empty, don't add.
271
270
hsh [ k ] = v . sort if v . is_a? ( Array ) && v . any?
272
271
elsif k == 'file' || k == 'line'
273
272
# We don't care, for the purposes of catalog-diff, from which manifest and line this resource originated.
You can’t perform that action at this time.
0 commit comments