diff options
Diffstat (limited to 'lib/rake/promise.rb')
-rw-r--r-- | lib/rake/promise.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/promise.rb b/lib/rake/promise.rb index 3258b91139..31c4563476 100644 --- a/lib/rake/promise.rb +++ b/lib/rake/promise.rb @@ -17,7 +17,7 @@ module Rake @mutex = Mutex.new @result = NOT_SET @error = NOT_SET - @args = args.collect { |a| begin; a.dup; rescue; a; end } + @args = args @block = block end |