diff --git a/pkg/system/args_windows.go b/pkg/system/args_windows.go deleted file mode 100644 index aafbf10872..0000000000 --- a/pkg/system/args_windows.go +++ /dev/null @@ -1,18 +0,0 @@ -package system - -import ( - "strings" - - "golang.org/x/sys/windows" -) - -// EscapeArgs makes a Windows-style escaped command line from a set of arguments -// -// Deprecated: this function is no longer used and will be removed in the next release. -func EscapeArgs(args []string) string { - escapedArgs := make([]string, len(args)) - for i, a := range args { - escapedArgs[i] = windows.EscapeArg(a) - } - return strings.Join(escapedArgs, " ") -}