mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 23:30:44 +01:00
Change: removed empty list check.
This commit is contained in:
parent
8b6a59379b
commit
c2ff8102f9
@ -31,7 +31,7 @@ def get_docker_commands():
|
||||
else:
|
||||
management_commands = []
|
||||
regular_commands = _parse_commands(lines, 'Commands:\n')
|
||||
return management_commands + regular_commands if management_commands else regular_commands
|
||||
return management_commands + regular_commands
|
||||
|
||||
|
||||
if which('docker'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user