Fix Guardfile

This commit is contained in:
Dave Syer
2014-10-01 14:56:21 +01:00
parent 429d336dc3
commit 8d6bcca5e5
2 changed files with 6 additions and 4 deletions

View File

@@ -41,8 +41,9 @@ module SpringCloud
unless options[:to_file]
puts out
else
writer = File.new(options[:to_file],'w+')
out.each { |line| writer.write(line) }
File.open(options[:to_file],'w+') do |file|
out.each { |line| file.write(line) }
end
end
end