lib/sshster/config.rb in sshster-0.1.0 vs lib/sshster/config.rb in sshster-0.1.1
- old
+ new
@@ -12,10 +12,10 @@
end
private
def parse_config(config_path)
- YAML.safe_load(File.read(config_path))
+ YAML.safe_load(File.read(config_path)) || {}
end
def merge_config(config_path)
return @options unless File.exist?(config_path)