fix typo
This commit is contained in:
parent
8fec7fa756
commit
664fb74867
|
|
@ -50,7 +50,7 @@ func (r *Runner) Run(ctx context.Context, cwd string, env []string, command stri
|
|||
return runWithStdin(ctx, r.log.WithCallDepth(2), cwd, env, "", command, args...)
|
||||
}
|
||||
|
||||
// RunWithStdin runs given command with stardart input
|
||||
// RunWithStdin runs given command with standard input
|
||||
func (r *Runner) RunWithStdin(ctx context.Context, cwd string, env []string, stdin, command string, args ...string) (string, error) {
|
||||
// call depth = 2 to erase the runWithStdin frame and this one
|
||||
return runWithStdin(ctx, r.log.WithCallDepth(2), cwd, env, stdin, command, args...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue