diff --git a/internal/hook/hook.go b/internal/hook/hook.go index 6699eeb..95c3bd8 100644 --- a/internal/hook/hook.go +++ b/internal/hook/hook.go @@ -13,7 +13,6 @@ import ( "errors" "fmt" "hash" - "io/ioutil" "log" "math" "net" @@ -750,7 +749,7 @@ func (h *Hooks) LoadFromFile(path string, asTemplate bool) error { } // parse hook file for hooks - file, e := ioutil.ReadFile(path) + file, e := os.ReadFile(path) if e != nil { return e