From 19438e021fa7289ec2f9183553f5a767f15b8e2a Mon Sep 17 00:00:00 2001 From: kshp Date: Tue, 29 Aug 2023 13:38:56 -0700 Subject: [PATCH 1/2] docs: reword API ref for the `setOutput` API --- packages/adk-core/lib/toolkit/sdk/core/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/adk-core/lib/toolkit/sdk/core/core.ts b/packages/adk-core/lib/toolkit/sdk/core/core.ts index 80224f6c0..ccfcb4894 100644 --- a/packages/adk-core/lib/toolkit/sdk/core/core.ts +++ b/packages/adk-core/lib/toolkit/sdk/core/core.ts @@ -38,7 +38,7 @@ export function getEnvironmentVariable(inputVar: string) { /** * Sets the output value for the action output parameter. * -* @param varName The name of the environment variable. Must match the `^[A-Za-z0-9][A-Za-z0-9\-_]{1,30}[A-Za-z0-9]$` pattern. +* @param varName The name of the environment variable. The variable match the ^[A-Za-z0-9][A-Za-z0-9\-_]{1,30}[A-Za-z0-9]$ pattern. * @param varValue The fully resolved value of the output variable. * * @return The result of running `echo ${varName}`. From 3dec85e95ebd39458fb0a10f990ad8e6f1b856ec Mon Sep 17 00:00:00 2001 From: kshp Date: Tue, 29 Aug 2023 13:44:39 -0700 Subject: [PATCH 2/2] docs: reword API ref for the `setOutput` API --- packages/adk-core/lib/toolkit/sdk/core/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/adk-core/lib/toolkit/sdk/core/core.ts b/packages/adk-core/lib/toolkit/sdk/core/core.ts index ccfcb4894..6b032f8e7 100644 --- a/packages/adk-core/lib/toolkit/sdk/core/core.ts +++ b/packages/adk-core/lib/toolkit/sdk/core/core.ts @@ -38,7 +38,7 @@ export function getEnvironmentVariable(inputVar: string) { /** * Sets the output value for the action output parameter. * -* @param varName The name of the environment variable. The variable match the ^[A-Za-z0-9][A-Za-z0-9\-_]{1,30}[A-Za-z0-9]$ pattern. +* @param varName The name of the environment variable. The variable must match the ^[A-Za-z0-9][A-Za-z0-9\-_]{1,30}[A-Za-z0-9]$ pattern. * @param varValue The fully resolved value of the output variable. * * @return The result of running `echo ${varName}`.