Skip to content

Commit

Permalink
Merge pull request #8632 from testwill/ioutil
Browse files Browse the repository at this point in the history
chore: remove refs to deprecated io/ioutil
  • Loading branch information
jenkins-x-bot committed Nov 16, 2023
2 parents f9951a1 + 42ce302 commit 585656e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ package main

import (
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 585656e

Please sign in to comment.