We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de61eb1 commit 62b8964Copy full SHA for 62b8964
1 file changed
lib/octocatalog-diff/cli.rb
@@ -169,11 +169,8 @@ def self.catalog_only(logger, options)
169
puts to_catalog.to_json
170
end
171
172
- return EXITCODE_SUCCESS_NO_DIFFS unless options[:RETURN_DIFFS] # For integration testing
173
- # :nocov:
174
- dummy_catalog = OctocatalogDiff::API::V1::Catalog.new(OctocatalogDiff::Catalog.new(backend: :noop))
175
- [dummy_catalog, to_catalog]
176
+ return { exitcode: EXITCODE_SUCCESS_NO_DIFFS, to: to_catalog } if options[:INTEGRATION] # For integration testing
+ EXITCODE_SUCCESS_NO_DIFFS
177
178
179
# --bootstrap-then-exit command
0 commit comments