We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6b10d commit c6c611eCopy full SHA for c6c611e
1 file changed
lib/octocatalog-diff/catalog.rb
@@ -192,11 +192,9 @@ def validate_references
192
next unless x['parameters'].key?(r)
193
missing_resources = resources_missing_from_catalog(x['parameters'][r])
194
next unless missing_resources.any?
195
- missing << missing_resources.map { |missing_target| { source: x, target_type: r, target_value: missing_target } }
+ missing.concat missing_resources.map { |missing_target| { source: x, target_type: r, target_value: missing_target } }
196
end
197
198
- missing.flatten!
199
- missing.compact!
200
return if missing.empty?
201
202
# At this point there is at least one broken/missing reference. Format an error message and
0 commit comments