( settingName: string, option?: UserScriptOptionDefinition, )
| 81 | } |
| 82 | |
| 83 | function getSecretSettingId( |
| 84 | settingName: string, |
| 85 | option?: UserScriptOptionDefinition, |
| 86 | ): string { |
| 87 | const optionId = option?.id; |
| 88 | if (typeof optionId === "string" && optionId.trim().length > 0) { |
| 89 | return optionId; |
| 90 | } |
| 91 | |
| 92 | return settingName; |
| 93 | } |
| 94 | |
| 95 | function fitSecretId( |
| 96 | commandPart: string, |
no outgoing calls
no test coverage detected