mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 21:08:48 +00:00
Fix issue with attempting to scroll through options when not-found package has no packages with matching names causing crash.
This commit is contained in:
parent
6173913291
commit
5f6c55d839
@ -25,7 +25,7 @@ def get_pkgfile(command):
|
|||||||
|
|
||||||
return [package.split()[0] for package in packages]
|
return [package.split()[0] for package in packages]
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
return None
|
return []
|
||||||
|
|
||||||
|
|
||||||
def archlinux_env():
|
def archlinux_env():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user