mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Remove redundant unless
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
1c234c380a
commit
afc8c0fa62
@ -90,7 +90,7 @@ module Homebrew
|
|||||||
if (watchman = which("watchman", ORIGINAL_PATHS))
|
if (watchman = which("watchman", ORIGINAL_PATHS))
|
||||||
srb_exec << "--watchman-path" << watchman
|
srb_exec << "--watchman-path" << watchman
|
||||||
else
|
else
|
||||||
srb_exec << "--disable-watchman" unless which("watchman", ORIGINAL_PATHS)
|
srb_exec << "--disable-watchman"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user