From 1eaff569704370577751f2a6fbf20017ad491e89 Mon Sep 17 00:00:00 2001 From: Viktor Danov Date: Tue, 13 Sep 2022 21:18:28 +0300 Subject: [PATCH] switch to os.ReadFile --- cmd/abacus-cli/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/abacus-cli/main.go b/cmd/abacus-cli/main.go index 25c3527..79ed612 100644 --- a/cmd/abacus-cli/main.go +++ b/cmd/abacus-cli/main.go @@ -6,7 +6,6 @@ import ( "fmt" "github.com/viktordanov/abacus/abacus" "io" - "io/ioutil" "log" "os" "path/filepath" @@ -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 }