(scripts map[string]string, key string)
| 345 | } |
| 346 | |
| 347 | func scriptExists(scripts map[string]string, key string) bool { |
| 348 | if scripts == nil { |
| 349 | return false |
| 350 | } |
| 351 | _, ok := scripts[key] |
| 352 | return ok |
| 353 | } |
| 354 | |
| 355 | func readPackageManifest(path string) (*packageManifest, error) { |
| 356 | data, err := os.ReadFile(path) |
no outgoing calls
no test coverage detected