( commands: unknown, options?: UserScriptSecretSanitizerOptions, )
| 921 | } |
| 922 | |
| 923 | export function stripUserScriptSecretRefsFromCommands( |
| 924 | commands: unknown, |
| 925 | options?: UserScriptSecretSanitizerOptions, |
| 926 | ): void { |
| 927 | if (!Array.isArray(commands)) return; |
| 928 | |
| 929 | for (const command of commands) { |
| 930 | stripUserScriptSecretRefsFromCommand(command, options); |
| 931 | } |
| 932 | } |
| 933 | |
| 934 | export function stripUserScriptSecretRefsFromChoice( |
| 935 | choice: unknown, |
no test coverage detected