Skip to content

Commit 3bd7461

Browse files
authored
Describe behaviour of getInput (actions#808)
1 parent f915ace commit 3bd7461

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/core.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ export function addPath(inputPath: string): void {
7878
}
7979

8080
/**
81-
* Gets the value of an input. The value is also trimmed.
81+
* Gets the value of an input.
82+
* Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.
83+
* Returns an empty string if the value is not defined.
8284
*
8385
* @param name name of the input to get
8486
* @param options optional. See InputOptions.

0 commit comments

Comments
 (0)