Permalink
Browse files

Merge pull request #181 from superp/master

Ruby 1.8.6 fix (in general, Ruby 1.8.6 is unsupported in Rake 10.x)
  • Loading branch information...
2 parents 1ce466e + bc0d781 commit b6c1bf71dd9cccfd24e46c282d94a72a0a953226 @jimweirich committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rake/trace_output.rb
View
@@ -13,7 +13,7 @@ def trace_on(out, *strings)
else
output = strings.map { |s|
next if s.nil?
- s.end_with?(sep) ? s : s + sep
+ s =~ /#{sep}$/ ? s : s + sep
}.join
end
out.print(output)

0 comments on commit b6c1bf7

Please sign in to comment.