mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +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'):
|
if which('go'):
|
||||||
get_docker_commands = cache(which('go'))(get_golang_commands)
|
get_golang_commands = cache(which('go'))(get_golang_commands)
|
||||||
|
|
||||||
|
|
||||||
@for_app('go')
|
@for_app('go')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user