From 4f52cca349d5d3f71806d0ed6f9b2bb376b65d81 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 9 Oct 2024 13:05:09 +0200 Subject: [PATCH] lint --- pkg/hubtest/utils.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/hubtest/utils.go b/pkg/hubtest/utils.go index 34a694014b3..c94d0e1c44a 100644 --- a/pkg/hubtest/utils.go +++ b/pkg/hubtest/utils.go @@ -76,9 +76,5 @@ func CopyDir(src string, dest string) error { return err } - if err := os.CopyFS(dest, os.DirFS(src)); err != nil { - return err - } - - return nil + return os.CopyFS(dest, os.DirFS(src)) }