Closed johannes-vogel closed 10 months ago
Thanks for the fix. What I don't understand, how this causes a regression in your tests. Because this just enables the plugin, and that option was not existing before. So I cannot imagine what did break...
PRs based on a fork from different repo/org will not pass integration-tests, as secrets are not injected: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
@johannes-vogel next time just open PR based on cap-js-community
, then it can be directly merged...
@johannes-vogel next time just open PR based on
cap-js-community
, then it can be directly merged...
will do so next time. Richard only recently added me to the community org.
The issue popped up in our (maybe not ideally written) tests and cwd was != cds.root and cwd did not contain a package.json which resulted in a crash.
OK, I See, I will make that more robust as well.
process.cwd()
is dependent on the location of the process, whilecds.root
always points to the project root. Most often and by defaultcds.root
points toprocess.cwd()
but in the context ofcds.test
the depending on the directory of the process, the wrong package.json might be read.