lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.4 vs lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.5

- old
+ new

@@ -49,9 +49,9 @@ path = "#{Dir.home}/.vimgolf_solves" unless File.exist?(path) File.new(path, File::CREAT|File::TRUNC|File::RDWR, 0644) end - File.open(path, 'a') { |file| file.write(id) } + File.open(path, 'a') { |file| file.write("#{id}\n") } end end end \ No newline at end of file