Skip to content

Commit

Permalink
Fix multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-mitka committed Feb 14, 2023
1 parent 6c1efda commit 9a06221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ async def main(
comma_separated_list = ','.join(l)

with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
f.write(f'{name}={comma_separated_list}')
f.write(f'{name}={comma_separated_list}\n')


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion main_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ async def test_outputs_are_set(mocker):
}
)
with open(os.environ['GITHUB_OUTPUT']) as f:
out_vars = f.readlines()[0]
out_vars = f.read()

for i in [
'needs-github-assistance=',
Expand Down

0 comments on commit 9a06221

Please sign in to comment.