We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72e5d0c commit 10fa564Copy full SHA for 10fa564
1 file changed
lib/octocatalog-diff/catalog-diff/differ.rb
@@ -266,8 +266,7 @@ def filter_and_cleanup(catalog_resources)
266
hsh[k] = cleansed_param unless cleansed_param.nil? || cleansed_param.empty?
267
elsif k == 'tags'
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.
+ # Also if tags is empty, don't add.
271
hsh[k] = v.sort if v.is_a?(Array) && v.any?
272
elsif k == 'file' || k == 'line'
273
# We don't care, for the purposes of catalog-diff, from which manifest and line this resource originated.
0 commit comments