lib/roku_builder/config.rb in roku_builder-4.3.1 vs lib/roku_builder/config.rb in roku_builder-4.5.0
- old
+ new
@@ -21,10 +21,11 @@
def load
check_config_file
load_config
end
- def parse
+ def parse(stage: nil)
+ @options[:stage] = stage if stage
@parsed = ConfigParser.parse(options: @options, config: @config)
end
def validate
validator = ConfigValidator.new(config: @config)