lib/bcupgrade/cask.rb in bcupgrade-0.9.0 vs lib/bcupgrade/cask.rb in bcupgrade-0.9.1

- old
+ new

@@ -26,10 +26,14 @@ private def load_config file = File.join(ENV['HOME'], '.bcupgrade') - YAML.load_file(file) if File.exist?(file) + if File.exist?(file) + YAML.load_file(file) + else + '' + end end def upgrade_target if @args.any? @args