Describe behaviour of getInput (#808)

This commit is contained in:
rethab authored and GitHub committed 2021-05-19 11:08:51 -04:00
1 parent 7ebec596c8
commit e1e3352389
1 file changed
+3 -1
+3 -1
View File
@@ -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.