Skip to content

Commit 87d19bd

Browse files
author
Calum Gilchrist
committed
Remove the Switch and rely on Environment Option
1 parent a677240 commit 87d19bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/octocatalog-diff/catalog-util/builddir.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def install_ssl_client_password(logger, password)
330330
end
331331

332332
def environment
333-
@options[:preserve_environments] ? @options.fetch(:environment, 'production') : 'production'
333+
@options.fetch(:environment, 'production')
334334
end
335335
end
336336
end

0 commit comments

Comments
 (0)