lib/power_stencil/initializer.rb in power_stencil-0.9.6 vs lib/power_stencil/initializer.rb in power_stencil-0.9.7
- old
+ new
@@ -15,15 +15,15 @@
def bootstrap(cmd_line_args = ARGV.dup)
setup_climatic cmd_line_args
logger.debug 'Starting PowerStencil initialization...'
setup_system_processors
setup_universe_compiler_logger
- try_to_load_project fail_on_error: false
+ project fail_on_error: false
logger.debug 'PowerStencil initialization complete'
end
- def project
- @project ||= try_to_load_project
+ def project(fail_on_error: true)
+ @project ||= try_to_load_project fail_on_error: fail_on_error
end
private
include PowerStencil::Utils::FileHelper