Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Do not print status or debug messages if rake is quieted.

  • Loading branch information...
commit c2b358bb3a9f6b39ed8539fc81e102b6eaefe577 1 parent 40c6554
Postmodern authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 lib/rubygems/tasks/printing.rb
6 lib/rubygems/tasks/printing.rb
@@ -52,7 +52,9 @@ module Printing
52 52 # The message to print.
53 53 #
54 54 def status(message)
55   - $stdout.puts "#{STATUS_PREFIX} #{message}"
  55 + if Rake.verbose
  56 + $stdout.puts "#{STATUS_PREFIX} #{message}"
  57 + end
56 58 end
57 59
58 60 #
@@ -62,7 +64,7 @@ def status(message)
62 64 # The message to print.
63 65 #
64 66 def debug(message)
65   - if Rake.application.options.trace
  67 + if (Rake.verbose && Rake.application.options.trace)
66 68 $stderr.puts "#{DEBUG_PREFIX} #{message}"
67 69 end
68 70 end

0 comments on commit c2b358b

Please sign in to comment.
Something went wrong with that request. Please try again.