Skip to content
Snippets Groups Projects
Commit df5605fa authored by Mike McQuaid's avatar Mike McQuaid
Browse files

extend/fileutils: fix Rubocop warnings.

parent fb3bec8d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment