From 8bebce331e75a1300cec31b3905be463a2ea0954 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Thu, 29 Jul 2021 23:48:36 +0200 Subject: [PATCH] #933: Correctly redefine the function with a cache --- thefuck/rules/go_unknown_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/go_unknown_command.py b/thefuck/rules/go_unknown_command.py index fd66289..20d5242 100644 --- a/thefuck/rules/go_unknown_command.py +++ b/thefuck/rules/go_unknown_command.py @@ -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')