From 3bd746139fadc2f9d6e5d8c2593a0be2a44e9c5c Mon Sep 17 00:00:00 2001 From: rethab Date: Wed, 19 May 2021 17:08:51 +0200 Subject: [PATCH] Describe behaviour of getInput (#808) --- packages/core/src/core.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 52e6d795..2a8b8fd4 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -78,7 +78,9 @@ export function addPath(inputPath: string): void { } /** - * Gets the value of an input. The value is also trimmed. + * Gets the value of an input. + * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. + * Returns an empty string if the value is not defined. * * @param name name of the input to get * @param options optional. See InputOptions.