Skip to content

Commit

Permalink
Remove deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
leifcr committed Sep 12, 2017
1 parent e799e41 commit 9210ef0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/standard/facets/fileutils/cp_rx.rb
Expand Up @@ -14,7 +14,6 @@ module FileUtils
# subdirectory is automatically skipped as well.

def cp_rx(src, dest, options = {}, &filter)
fu_check_options(options, OPT_TABLE['cp_r'])
if options[:verbose]
fu_output_message("cp -r#{options[:preserve] ? 'p' : ''}#{options[:remove_destination] ? ' --remove-destination' : ''} #{[src,dest].flatten.join ' '}")
end
Expand All @@ -41,4 +40,3 @@ def copy_entryx(src, dest, filter, preserve = false, dereference_root = false, r
end

end

1 change: 0 additions & 1 deletion lib/standard/facets/fileutils/ln_r.rb
Expand Up @@ -27,7 +27,6 @@ module FileUtils
#
# TODO: Why --remove-destination and not just --force?
def ln_r(src, dest, options = {})
fu_check_options options, OPT_TABLE['ln_r']
fu_output_message "ln -r#{options[:remove_destination] ? ' --remove-destination' : ''} #{[src,dest].flatten.join ' '}" if options[:verbose]
return if options[:noop]
options = options.dup
Expand Down

0 comments on commit 9210ef0

Please sign in to comment.