1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-10 09:03:02 +00:00

Prepend newline for set-output (#772)

This commit is contained in:
eric sciple 2021-04-13 12:01:19 -05:00 committed by GitHub
parent 8afb976445
commit e76decaf8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View file

@ -99,6 +99,7 @@ export function getInput(name: string, options?: InputOptions): string {
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function setOutput(name: string, value: any): void {
process.stdout.write(os.EOL)
issueCommand('set-output', {name}, value)
}