diff --git a/cmd/docs/main.go b/cmd/docs/main.go index 97e1f553c5..1890ea26ef 100644 --- a/cmd/docs/main.go +++ b/cmd/docs/main.go @@ -15,7 +15,6 @@ package main import ( "fmt" - "io/ioutil" "log" "os" "path/filepath" @@ -83,7 +82,7 @@ func loadLongDescription(cmd *cobra.Command, path ...string) error { continue } - content, err := ioutil.ReadFile(fullpath) + content, err := os.ReadFile(fullpath) if err != nil { return err }