redwoodjs / redwood

The App Framework for Startups
https://redwoodjs.com
MIT License
17.19k stars 984 forks source link

Fix codemods execution on node 16 #3765

Closed dac09 closed 2 years ago

dac09 commented 2 years ago
dac09 commented 2 years ago

I've checked all of the cases using the update-scenarios codemod, but it looks like it doesn't run any changes when we try to invoke it from dist/codemods, for debugging.

I think it must be to do with the fact that we need to pass CWD when we execute it programatically.