From df5605fa01cea58928d39bf12b27912c39c3f646 Mon Sep 17 00:00:00 2001 From: Mike McQuaid <mike@mikemcquaid.com> Date: Sun, 11 Sep 2016 17:53:00 +0100 Subject: [PATCH] extend/fileutils: fix Rubocop warnings. --- Library/Homebrew/extend/fileutils.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/extend/fileutils.rb b/Library/Homebrew/extend/fileutils.rb index 2b5dcfef32..d5bc3e6d70 100644 --- a/Library/Homebrew/extend/fileutils.rb +++ b/Library/Homebrew/extend/fileutils.rb @@ -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 -- GitLab