( command: Record<string, unknown>, options?: UserScriptSecretSanitizerOptions, )
| 862 | } |
| 863 | |
| 864 | function getSecretOptionNamesForCommand( |
| 865 | command: Record<string, unknown>, |
| 866 | options?: UserScriptSecretSanitizerOptions, |
| 867 | ): ReadonlySet<string> | null | undefined { |
| 868 | const path = command.path; |
| 869 | if (typeof path !== "string") return undefined; |
| 870 | |
| 871 | return options?.secretOptionNamesByPath?.get(path); |
| 872 | } |
| 873 | |
| 874 | function stripSecretRefsFromSettings( |
| 875 | settings: unknown, |
no test coverage detected