Skip to content

getMultilineInput doc claims getMultilineInput which is inaccurate #2185

@jsoref

Description

@jsoref

* Gets the values of an multiline input. Each value is also trimmed.

this is incorrect, see:

if (options && options.trimWhitespace === false) {
return inputs
}
return inputs.map(input => input.trim())

compare this more accurate documentation for getInput:

* Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions