Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1596: Runner throws null ref exception when new line after EOF is missing #1687

Merged
merged 3 commits into from
Feb 23, 2022
Merged

Issue 1596: Runner throws null ref exception when new line after EOF is missing #1687

merged 3 commits into from
Feb 23, 2022

Conversation

ruvceskistefan
Copy link
Contributor

Description: Runner throws null ref exception when new line after EOF is missing. The problem occurs when the string being written to the variable contains new line and a new line is missing after the EOF marker.

Related issue: #1596

After this change, the described problem was removed and additional tests covering this part of the code were implemented.

@ruvceskistefan ruvceskistefan requested a review from a team as a code owner February 14, 2022 15:58
@thboop thboop self-requested a review February 23, 2022 14:50
Copy link
Collaborator

@thboop thboop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thboop thboop merged commit ec98308 into actions:main Feb 23, 2022
fhammerl pushed a commit that referenced this pull request Feb 24, 2022
…is missing (#1687)

* Issue 1596: runner throws nullref exception when writting env var

* Adding tests for missing new line after EOF marker

* Changing newline to new line
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Nov 30, 2022
…is missing (actions#1687)

* Issue 1596: runner throws nullref exception when writting env var

* Adding tests for missing new line after EOF marker

* Changing newline to new line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants