( command: IUserScript, settingName: string, )
| 773 | } |
| 774 | |
| 775 | export function getSecretRefFromCommandSetting( |
| 776 | command: IUserScript, |
| 777 | settingName: string, |
| 778 | ): string | undefined { |
| 779 | const value = command.settings?.[settingName]; |
| 780 | return isUserScriptSecretRef(value) ? value.secretRef : undefined; |
| 781 | } |
| 782 | |
| 783 | async function clearRefsFromSettings( |
| 784 | app: App | undefined, |
no test coverage detected