From e1e3352389c9e920fc4c753c48245dd879c60bb6 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) --- src/core.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index 52e6d79..2a8b8fd 100644 --- a/src/core.ts +++ b/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.