From 6443c488f67ae5ed2e45df534ad3dc652c461ba1 Mon Sep 17 00:00:00 2001 From: Zack Hobson Date: Tue, 21 Jul 2009 19:46:30 -0700 Subject: Start a task without existing settings, closes #8 --- lib/hcl.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/hcl.rb') diff --git a/lib/hcl.rb b/lib/hcl.rb index 883ded6..9d80a8d 100644 --- a/lib/hcl.rb +++ b/lib/hcl.rb @@ -84,6 +84,8 @@ EOM settings_file = "#{ENV['HOME']}/.hcl_settings" if File.exists? settings_file @settings = YAML.load(File.read(settings_file)) + else + @settings = {} end end -- cgit v1.2.3