Project

General

Profile

Actions

Backport #4771

closed

rake のオプション --trace が常に ON 動作になっている

Added by katonbo (Masahiro Kitajima) over 13 years ago. Updated over 8 years ago.

Status:
Rejected
[ruby-dev:43574]

Description

--- a/lib/rake.rb
+++ b/lib/rake.rb
@@ -2066,7 +2066,7 @@ module Rake
# Exit with error message
$stderr.puts "#{name} aborted!"
$stderr.puts ex.message

  •    if options.trace or true
    
  •    if options.trace
         $stderr.puts ex.backtrace.join("\n")
       else
         $stderr.puts ex.backtrace.find {|str| str =~ /#{@rakefile}/ } || ""
    
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0