summaryrefslogtreecommitdiff
path: root/lib/rake/promise.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/promise.rb')
-rw-r--r--lib/rake/promise.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/promise.rb b/lib/rake/promise.rb
index 3258b91..31c4563 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