mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils.rb: remove unnecessary initialization. by @vipulnsward [fix GH-463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7416073cde
commit
218755f306
1 changed files with 1 additions and 1 deletions
|
@ -1150,7 +1150,7 @@ module FileUtils
|
|||
def touch(list, options = {})
|
||||
fu_check_options options, OPT_TABLE['touch']
|
||||
list = fu_list(list)
|
||||
created = nocreate = options[:nocreate]
|
||||
nocreate = options[:nocreate]
|
||||
t = options[:mtime]
|
||||
if options[:verbose]
|
||||
fu_output_message "touch #{nocreate ? '-c ' : ''}#{t ? t.strftime('-t %Y%m%d%H%M.%S ') : ''}#{list.join ' '}"
|
||||
|
|
Loading…
Add table
Reference in a new issue