(os string, arch string)
| 430 | } |
| 431 | |
| 432 | func ValidateWshSupportedArch(os string, arch string) error { |
| 433 | if SupportedWshBinaries[fmt.Sprintf("%s-%s", os, arch)] { |
| 434 | return nil |
| 435 | } |
| 436 | return fmt.Errorf("unsupported wsh platform: %s-%s", os, arch) |
| 437 | } |
| 438 | |
| 439 | func getSystemSummary(ctx context.Context) string { |
| 440 | osName := runtime.GOOS |
no outgoing calls
no test coverage detected