diff --git a/internal/lefthook/runner/result.go b/internal/lefthook/runner/result.go deleted file mode 100644 index b2c06de9..00000000 --- a/internal/lefthook/runner/result.go +++ /dev/null @@ -1,6 +0,0 @@ -package runner - -type Result struct { - Name string - Err error -} diff --git a/internal/lefthook/runner/runner.go b/internal/lefthook/runner/runner.go index 4a1e952a..fbfff985 100644 --- a/internal/lefthook/runner/runner.go +++ b/internal/lefthook/runner/runner.go @@ -57,6 +57,12 @@ type Runner struct { executor exec.Executor } +// Result contains name of a command/script and an optional fail string. +type Result struct { + Name string + Err error +} + func New(opts Options) *Runner { return &Runner{ Options: opts,