Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update helper.go

Daniel Hougaardd26521be0bae
diff --git a/cli/packages/util/helper.go b/cli/packages/util/helper.go
index 36d8abda17..b8eb66027c 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