Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Using safer String#chomp instead of String#chomp.

  • Loading branch information...
commit d56d9939e40174f9e19ffb6cde9f9968d0db80fd 1 parent 5bc84ee
@jqr jqr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/snitch/revisions/subversion.rb
View
2  lib/snitch/revisions/subversion.rb
@@ -15,7 +15,7 @@ def initialize(repository, revision, svn_look_path=nil)
%w[changed date diff log].each { |m| define_method(m) { look m } }
def author
- look(:author).chop
+ look(:author).chomp
end
# Returns a best guess of the projects name. Assumes that most will be
Please sign in to comment.
Something went wrong with that request. Please try again.