Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2-space indent printed warnings.

  • Loading branch information...
commit 895653d07ee6022d87bb3f9a4c77cf35ce66dc19 1 parent 7e4dc9b
@postmodern authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/warnings/warning.rb
View
4 lib/warnings/warning.rb
@@ -139,10 +139,10 @@ def print
end
if $stderr.tty?
- $stderr.puts "\e[33m#{@message}:\e[0m"
+ $stderr.puts " \e[33m#{@message}:\e[0m"
trace.each { |line| $stderr.puts "\t\e[2m#{line}\e[0m" }
else
- $stderr.puts "#{@message}:"
+ $stderr.puts " #{@message}:"
trace.each { |line| $stderr.puts "\t#{line}" }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.