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:
parent
8afb976445
commit
e76decaf8a
5 changed files with 12 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue