(command: string)
| 579 | |
| 580 | /** Detection-only check: does the command contain a safe heredoc substitution? */ |
| 581 | export function hasSafeHeredocSubstitution(command: string): boolean { |
| 582 | return stripSafeHeredocSubstitutions(command) !== null |
| 583 | } |
| 584 | |
| 585 | function validateSafeCommandSubstitution( |
| 586 | context: ValidationContext, |
nothing calls this directly
no test coverage detected