Skip to content

Commit

Permalink
Fixed "invalid byte sequence in UTF-8"
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-classen committed Jun 30, 2015
1 parent ccc30d6 commit 7dc0b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugspots/scanner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def self.scan(repo, branch = "master", depth = 500, regex = nil)
files = commit.diff(commit.parents.first).deltas.collect do |d|
d.old_file[:path]
end
fixes << Fix.new(commit.message.split("\n").first, commit.time, files)
fixes << Fix.new(commit.message.scrub.split("\n").first, commit.time, files)
end
end

Expand Down

0 comments on commit 7dc0b54

Please sign in to comment.