From 0a3506f81eefe2ab1985a1d14afcc7c02502a1d1 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Thu, 11 Dec 2025 05:59:40 -0800 Subject: [PATCH] Also move defaultValue out --- plugins/template-function-1password/src/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/template-function-1password/src/index.ts b/plugins/template-function-1password/src/index.ts index 48c18df6..9ccff23f 100644 --- a/plugins/template-function-1password/src/index.ts +++ b/plugins/template-function-1password/src/index.ts @@ -112,7 +112,8 @@ export const plugin: PluginDefinition = { { name: 'token', type: 'text', - description: '', + // biome-ignore lint/suspicious/noTemplateCurlyInString: Yaak template syntax + defaultValue: '${[1PASSWORD_TOKEN]}', dynamic(_ctx, args) { switch (args.values.authMethod) { case 'desktop': @@ -126,8 +127,6 @@ export const plugin: PluginDefinition = { label: 'Token', description: 'Token can be generated from the 1Password website by visiting Developer > Service Accounts', - // biome-ignore lint/suspicious/noTemplateCurlyInString: Yaak template syntax - defaultValue: '${[1PASSWORD_TOKEN]}', password: true, }; }