lib/rake/funnel/tasks/copy.rb in rake-funnel-0.0.3.pre vs lib/rake/funnel/tasks/copy.rb in rake-funnel-0.0.4.pre
- old
+ new
@@ -37,10 +37,10 @@
self
end
def files
- Rake::Funnel::Support::Finder.new(source.dup, self, 'No files found.').all_or_default
+ Rake::Funnel::Support::Finder.new(source, self, 'No files found.').all_or_default
end
def target_path(file)
target_relative = Pathname.new(file).relative_path_from(Pathname.new(common_path)).to_s
File.join(target, target_relative)