diff options
| author | Markus Reiter | 2016-09-21 13:43:02 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-09-23 15:30:06 +0200 |
| commit | d7a312f6cf1a17e36891f4533ec48e53c5276e3d (patch) | |
| tree | bc3f07ad10a0ce8fe6bfa0d2dec8048b841f47e3 /Library/Homebrew | |
| parent | ce6994b001520b8e5d26e5e15b410c9146072104 (diff) | |
| download | brew-d7a312f6cf1a17e36891f4533ec48e53c5276e3d.tar.bz2 | |
Fix Style/IdenticalConditionalBranches.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_lock.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_lock.rb b/Library/Homebrew/formula_lock.rb index 1ce62b328..8743eaef8 100644 --- a/Library/Homebrew/formula_lock.rb +++ b/Library/Homebrew/formula_lock.rb @@ -35,9 +35,8 @@ class FormulaLock if @lockfile.nil? || @lockfile.closed? @lockfile = @path.open(File::RDWR | File::CREAT) @lockfile.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) - @lockfile - else - @lockfile end + + @lockfile end end |
