Closed cmars closed 2 years ago
Hey @cmars I just ran it again myself and could not reproduce this issue you are seeing.
I then went and tried your scripts
and was able to repro then. I don't think the pwd
is working as you expect. When you run an npm script it rewrites cwd and always runs it from root.
I've been testing from resources
in end-end-tests
like this ts-node ../../src/index.ts
We can can come up with a better way. I'm sure some folks on our team have a better idea about how npm scripts works than I do, but pretty sure that's the issue
I wrapped sweater-comb with an npm script to make it easier to run:
I can create an OpenAPI spec with:
(So far it's empty; I assume
workflow update
is coming soon, no problem)However, when I try to add an operation, I get an uncaught error: