From a9af533ee6fd59627c688dee80df9e05cbc11569 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 29 Mar 2022 17:55:40 +0200 Subject: [PATCH] deps: remove shlex (#1086) --- act/runner/run_context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index 133a40dd..d5eab92e 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -10,7 +10,7 @@ import ( "runtime" "strings" - "github.com/google/shlex" + "github.com/kballard/go-shellquote" "github.com/spf13/pflag" "github.com/mitchellh/go-homedir" @@ -366,7 +366,7 @@ func (rc *RunContext) hostname() string { optionsFlags := pflag.NewFlagSet("container_options", pflag.ContinueOnError) hostname := optionsFlags.StringP("hostname", "h", "", "") - optionsArgs, err := shlex.Split(c.Options) + optionsArgs, err := shellquote.Split(c.Options) if err != nil { log.Warnf("Cannot parse container options: %s", c.Options) return ""