diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-10-05 16:05:23 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 16:05:23 +1100 |
| commit | dc79c8ea59622d19db22dae6753936da2be6412f (patch) | |
| tree | 75465ddc18215115c382b97ac7a0382361f9f69c /internal/commands/util.go | |
| parent | 9ae703fe5152b09e0484e31d54dec573e9f0ea7c (diff) | |
refactor: any (#4133)
* refactor: any
* refactor: fix test
Diffstat (limited to 'internal/commands/util.go')
| -rw-r--r-- | internal/commands/util.go | 2 |
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 |
