Skip to content

Commit 13b3417

Browse files
author
Calum Gilchrist
committed
Compile the Correct Environment
1 parent 05115a9 commit 13b3417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/octocatalog-diff/catalog/computed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def compilation_dir
8080

8181
# Environment used to compile catalog
8282
def environment
83-
@opts[:preserve_environments] ? @opts.fetch(:environment, 'production') : 'production'
83+
@options.fetch(:environment, 'production')
8484
end
8585

8686
private

0 commit comments

Comments
 (0)