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
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)
}