diff options
Diffstat (limited to 'pkg/cheatsheet/check.go')
-rw-r--r-- | pkg/cheatsheet/check.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/cheatsheet/check.go b/pkg/cheatsheet/check.go index a0c40e775..6123e4aa5 100644 --- a/pkg/cheatsheet/check.go +++ b/pkg/cheatsheet/check.go @@ -3,7 +3,6 @@ package cheatsheet import ( "fmt" "io/fs" - "io/ioutil" "log" "os" "path/filepath" @@ -60,7 +59,7 @@ func obtainContent(dir string) string { content := "" err := filepath.WalkDir(dir, func(path string, d fs.DirEntry, err error) error { if re.MatchString(path) { - bytes, err := ioutil.ReadFile(path) + bytes, err := os.ReadFile(path) if err != nil { log.Fatalf("Error occurred while checking if cheatsheets are up to date: %v", err) } |