Skip to content

Commit 10fa564

Browse files
author
Kevin Paulisse
committed
Fix comment too
1 parent 72e5d0c commit 10fa564

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,7 @@ def filter_and_cleanup(catalog_resources)
266266
hsh[k] = cleansed_param unless cleansed_param.nil? || cleansed_param.empty?
267267
elsif k == 'tags'
268268
# 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.
271270
hsh[k] = v.sort if v.is_a?(Array) && v.any?
272271
elsif k == 'file' || k == 'line'
273272
# We don't care, for the purposes of catalog-diff, from which manifest and line this resource originated.

0 commit comments

Comments
 (0)