exe/conoharant in conoha-0.3.0 vs exe/conoharant in conoha-0.3.1
- old
+ new
@@ -24,10 +24,12 @@
require 'conoha/util'
# Dump current status to ".conoharant/status.yml"
# @params [Hash] status
def dump_conoharant_status(status)
- File.open('.conoharant/status.yml', 'w').print(YAML.dump(status))
+ File.open('.conoharant/status.yml', 'w') do |f|
+ f.print(YAML.dump(status))
+ end
end
require 'conoha/version'
arg = ARGV.first
case arg