mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 06:34:09 +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:
@@ -25,7 +25,7 @@ def get_pkgfile(command):
|
||||
|
||||
return [package.split()[0] for package in packages]
|
||||
except subprocess.CalledProcessError:
|
||||
return None
|
||||
return []
|
||||
|
||||
|
||||
def archlinux_env():
|
||||
|
||||
Reference in New Issue
Block a user