(command: string)
| 2615 | * using normalized detection that handles env var prefixes and shell quotes. |
| 2616 | */ |
| 2617 | export function commandHasAnyCd(command: string): boolean { |
| 2618 | return splitCommand(command).some(subcmd => |
| 2619 | isNormalizedCdCommand(subcmd.trim()), |
| 2620 | ) |
| 2621 | } |
| 2622 |
no test coverage detected