lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.6 vs lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.7

- old
+ new

@@ -35,10 +35,10 @@ else file = File.new(path) end file.readlines.each do |line| - if line.eql?(self.id) + if line.strip.eql?(self.id) return true end end return false \ No newline at end of file