Closed fpoppinga closed 5 years ago
:x: Tests for the commit a9f481abab6da67f172289719cf99838d71944ac have failed. See details:
Hi @fpoppinga, thanks for the excellent job! Hower, I think that it would be very inconvenient to serialize options as JSON, and properly escape them to store in the environment variable. I'm sure that it will be hard to handle this using only command line tools, and you'll need to write a separate script for doing this.
So I suggest to rename the environment variable to SAUCE_CONFIG_PATH
, and use it to pass the filename of the file with additional options which can be retrieved by just calliing require('SAUCE_CONFIG_PATH')
.
@AndreyBelym, well the only work I did so far was creating this PR from @madmod's Fork.
I'll rebase this and adapt the idea you proposed.
I think this feature should be merged to the main project.
@madmod, if you don't agree, please close.