extend/fileutils: fix Rubocop warnings.
This commit is contained in:
parent
fb3bec8d70
commit
df5605fa01
@ -60,10 +60,10 @@ module FileUtils
|
||||
# > When a new file is created, it is given the group of the directory which
|
||||
# contains it.
|
||||
group_id = if HOMEBREW_BREW_FILE.grpowned?
|
||||
HOMEBREW_BREW_FILE.stat.gid
|
||||
else
|
||||
Process.gid
|
||||
end
|
||||
HOMEBREW_BREW_FILE.stat.gid
|
||||
else
|
||||
Process.gid
|
||||
end
|
||||
begin
|
||||
chown(nil, group_id, tmpdir)
|
||||
rescue Errno::EPERM
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user