-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix task-output-json to work as documented #21
Conversation
|
Note, if the system running the unit tests does not have an iconv that supports the --unicode-subst option then this requires #20 to be merged first in order for all the tests to succeed properly. |
|
There's an issue with the tests where the repo is cloned with the when it lives at |
49c5355
to
177da45
Compare
I rebased my original commit and then modified the tests to avoid needing to know the name of the directory it was cloned as. I couldn't see a drawback to this approach and tests are passing now. |
|
This should be fixed in #23 as well. Does your approach of |
177da45
to
4434d1b
Compare
No, with my approach the "examples/mytask.sh" task would not work when run via Bolt. Let's go with your fix in #23 ! I've dropped my path change and repushed just the original change/fix. |
|
I think we just need a rebase from |
4434d1b
to
8b20c5c
Compare
Currently the task_output_keys/values are always printed with double quotes around the value, preventing task-output-json from working as intended. Additionally, this includes a refactoring of the unit test as the current one is flawed and does not test anything meaningful.
8b20c5c
to
cb48339
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Currently the task_output_keys/values are always printed with double quotes around the value, preventing task-output-json from working as intended.
Additionally, this includes a refactoring of the unit test as the current one is flawed and does not test anything meaningful.