Skip to content

Commit

Permalink
switch to os.ReadFile
Browse files Browse the repository at this point in the history
  • Loading branch information
viktordanov committed Sep 13, 2022
1 parent 056d9f6 commit 1eaff56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/abacus-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"github.com/viktordanov/abacus/abacus"
"io"
"io/ioutil"
"log"
"os"
"path/filepath"
Expand Down Expand Up @@ -127,7 +126,7 @@ func run() error {
}

if len(arguments.ImportDefinitions) != 0 {
dat, err := ioutil.ReadFile(arguments.ImportDefinitions)
dat, err := os.ReadFile(arguments.ImportDefinitions)
if err != nil {
return err
}
Expand Down

0 comments on commit 1eaff56

Please sign in to comment.