Skip to content

Commit 948db9f

Browse files
author
Calum Gilchrist
committed
Create an Environment when environment switch is given
1 parent 87d19bd commit 948db9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def create_symlinks(logger = nil)
8585
end
8686
else
8787
if @options[:environment]
88-
logger.warn '--environment is ignored unless --preserve-environments is used' unless logger.nil?
88+
install_directory_symlink(logger, @options[:basedir], "environments/#{@options[:environment]}")
8989
end
9090
if @options[:create_symlinks]
9191
logger.warn '--create-symlinks is ignored unless --preserve-environments is used' unless logger.nil?

0 commit comments

Comments
 (0)