Describe behaviour of getInput (#808)

This commit is contained in:
rethab
2021-05-19 17:08:51 +02:00
committed by GitHub
parent f915ace085
commit 3bd746139f

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.