(executable *string)
| 63 | } |
| 64 | |
| 65 | func NormalizeShellExecutable(executable *string) string { |
| 66 | if executable == nil { |
| 67 | return "" |
| 68 | } |
| 69 | normalized := strings.TrimSpace(strings.ToLower(filepath.Base(strings.ReplaceAll(*executable, "\\", "/")))) |
| 70 | return normalized |
| 71 | } |
no outgoing calls
no test coverage detected