mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-19 12:24:29 +00:00
44c06c483e
This avoids thefuck failing when there's no arguments. It fails with: ``` ... File "thefuck/rules/whois.py", line 26, in get_new_command url = command.script.split()[1] IndexError: list index out of range ``` Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>