mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 14:44:05 +00:00
#933: Correctly redefine the function with a cache
This commit is contained in:
committed by
Pablo Aguiar
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')
|
||||
|
||||
Reference in New Issue
Block a user