From d26521be0baeaab8ab057f77d9764dc10a355439 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Tue, 18 Jun 2024 14:03:16 +0200 Subject: [PATCH] Update helper.go --- cli/packages/util/helper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/packages/util/helper.go b/cli/packages/util/helper.go index 36d8abda1..b8eb66027 100644 --- a/cli/packages/util/helper.go +++ b/cli/packages/util/helper.go @@ -5,7 +5,6 @@ import ( "crypto/sha256" "encoding/base64" "fmt" - "io/ioutil" "os" "os/exec" "path" @@ -249,7 +248,7 @@ func AppendAPIEndpoint(address string) string { } func ReadFileAsString(filePath string) (string, error) { - fileBytes, err := ioutil.ReadFile(filePath) + fileBytes, err := os.ReadFile(filePath) if err != nil { return "", err