lib/roku_builder/config.rb in roku_builder-4.9.2 vs lib/roku_builder/config.rb in roku_builder-4.9.3
- old
+ new
@@ -180,20 +180,22 @@
end
object
end
def fix_config_symbol_values
- if @config[:devices]
+ if @config[:devices] and @config[:devices][:default]
@config[:devices][:default] = @config[:devices][:default].to_sym
end
if @config[:projects]
fix_project_config_symbol_values
build_inhearited_project_configs
end
end
def fix_project_config_symbol_values
- @config[:projects][:default] = @config[:projects][:default].to_sym
+ if @config[:projects] [:default]
+ @config[:projects][:default] = @config[:projects][:default].to_sym
+ end
@config[:projects].each_pair do |key,value|
next if is_skippable_project_key? key
if value[:stage_method]
value[:stage_method] = value[:stage_method].to_sym
end