Closed ladyadalovelace closed 2 years ago
Seems to occur because the is_proper_commnd
check on line 27 is much looser than the findall check on the following line:
Then the findall assumes it will find something and without checking, indexes the first, non-existent, element.
It looks the the expected output has changed.
The output of brew install has changed. Before it was an Error, now it is a Warning. I create a PR
The output of
thefuck --version
(something likeThe Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release
):Your system (Debian 7, ArchLinux, Windows, etc.):
How to reproduce the bug:
The output of The Fuck with
THEFUCK_DEBUG=true
exported (typically executeexport THEFUCK_DEBUG=true
in your shell before The Fuck):