mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 03:56:01 +00:00
#933: Correctly redefine the function with a cache
This commit is contained in:
parent
dbc435c040
commit
8bebce331e
@ -14,7 +14,7 @@ def get_golang_commands():
|
||||
|
||||
|
||||
if which('go'):
|
||||
get_docker_commands = cache(which('go'))(get_golang_commands)
|
||||
get_golang_commands = cache(which('go'))(get_golang_commands)
|
||||
|
||||
|
||||
@for_app('go')
|
||||
|
Loading…
Reference in New Issue
Block a user