Skip to content

Commit

Permalink
chore: remove refs to deprecated io/ioutil (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Oct 15, 2023
1 parent 5aaa577 commit bc96ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piknik.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"encoding/hex"
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"runtime"
"time"

Expand Down Expand Up @@ -124,7 +124,7 @@ func main() {
version()
return
}
tomlData, err := ioutil.ReadFile(expandConfigFile(*configFile))
tomlData, err := os.ReadFile(expandConfigFile(*configFile))
if err != nil && !*isGenKeys {
log.Fatal(err)
}
Expand Down

0 comments on commit bc96ce1

Please sign in to comment.