mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1625933 Only complain about unmanaged fzf if it was found r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D68792 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
08f49a5a88
commit
5736cab8ce
@ -228,7 +228,7 @@ def fzf_bootstrap(update=False):
|
||||
|
||||
# Bug 1623197: We only want to run fzf's `install` if it's not in the $PATH
|
||||
# Swap to os.path.commonpath when we're not on Py2
|
||||
if update and not fzf_bin.startswith(fzf_path):
|
||||
if fzf_bin and update and not fzf_bin.startswith(fzf_path):
|
||||
print("fzf installed somewhere other than {}, please update manually".format(fzf_path))
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user