summaryrefslogtreecommitdiff
path: root/internal/commands/util.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2022-10-05 16:05:23 +1100
committerGitHub <noreply@github.com>2022-10-05 16:05:23 +1100
commitdc79c8ea59622d19db22dae6753936da2be6412f (patch)
tree75465ddc18215115c382b97ac7a0382361f9f69c /internal/commands/util.go
parent9ae703fe5152b09e0484e31d54dec573e9f0ea7c (diff)
refactor: any (#4133)
* refactor: any * refactor: fix test
Diffstat (limited to 'internal/commands/util.go')
-rw-r--r--internal/commands/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/util.go b/internal/commands/util.go
index 26c308648..ef83e1627 100644
--- a/internal/commands/util.go
+++ b/internal/commands/util.go
@@ -4,7 +4,7 @@ import (
"fmt"
)
-func recoverErr(i interface{}) error {
+func recoverErr(i any) error {
switch v := i.(type) {
case nil:
return nil