Skip to content

Commit

Permalink
change ioutil to os
Browse files Browse the repository at this point in the history
  • Loading branch information
2start committed Jan 16, 2024
1 parent b6eaf43 commit ff69c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file-search.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func findFiles(extensions, excludes []string) ([]string, error) {
func concatenateFiles(files []string) (string, error) {
var buffer bytes.Buffer
for _, file := range files {
content, err := ioutil.ReadFile(file)
content, err := os.ReadFile(file)
if err != nil {
return "", err
}
Expand Down

0 comments on commit ff69c71

Please sign in to comment.