pkg/daemon/elevate/elevate_windows.go
Function RunCmdWithElevated
has 6 return statements (exceeds 4 allowed). Open
Open
func RunCmdWithElevated(exe string, arg []string) error {
verb := "runas"
cwd, err := os.Getwd()
if err != nil {
return err
Function RunCmd
has 6 return statements (exceeds 4 allowed). Open
Open
func RunCmd(exe string, arg []string) error {
verb := "open"
cwd, err := os.Getwd()
if err != nil {
return err