You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The toJson(github) command to print github context fails if the commit message (or anywhere else - say a repository description) contains brackets ().
To Reproduce
Steps to reproduce the behavior:
Update your test repository description with a text that includes brackets. Example: My test repository with brackets (to test failing github context).
Print the github context using echo statements such as below.
Actual behaviour
Throws error on line that contains brackets. In this example it was in the description of repository but a more common scenario is to get this failure in commit message.
NOTE: The line number is also always one ahead of what is printed in the logs.
The text was updated successfully, but these errors were encountered:
Describe the bug
The toJson(github) command to print github context fails if the commit message (or anywhere else - say a repository description) contains brackets ().
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Should print the log.
Actual behaviour
Throws error on line that contains brackets. In this example it was in the description of repository but a more common scenario is to get this failure in commit message.
NOTE: The line number is also always one ahead of what is printed in the logs.
The text was updated successfully, but these errors were encountered: