Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/rake/file_utils_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module FileUtilsExt
class << self
attr_accessor :verbose_flag, :nowrite_flag
end
FileUtilsExt.verbose_flag = nil
FileUtilsExt.verbose_flag = true
FileUtilsExt.nowrite_flag = false

$fileutils_verbose = true
Expand All @@ -29,11 +29,11 @@ class << self

next if default_options.empty?
module_eval(<<-EOS, __FILE__, __LINE__ + 1)
def #{name}( *args, &block )
def #{name}( *args, **options, &block )
super(
*rake_merge_option(args,
#{default_options.join(', ')}
), &block)
*args,
**{#{default_options.join(", ")}}.merge(options),
&block)
end
EOS
end
Expand Down