Skip to content

Commit

Permalink
fix(cmd): using os.ReadFile due to ioutil.ReadFile is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Feb 3, 2024
1 parent b0006df commit 760aacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (c *NewCmd) Main() cobra.PositionalArgs {
return err
}

content, err := ioutil.ReadFile(path)
content, err := os.ReadFile(path)
if err != nil {
return err
}
Expand Down

0 comments on commit 760aacf

Please sign in to comment.