-
Notifications
You must be signed in to change notification settings - Fork 36
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
[cli] codemod index.cjs detection fails on GitHub Actions #1007
Comments
@foxted, thanks for reporting this issue. you can also chat with me/team/community here: https://go.codemod.com/community |
The community link you shared is a 404 on my end. |
|
Here's the repo: https://github.com/foxted/codemod-polyfill |
@foxted I do apologise for delay.
So it would be like npx codemod --source /path/to/my-codemod-repo/src/index.ts --engine jscodeshift --target /path/to/my-target-repo or
|
HI there,
I'm trying to run codemod on Github Actions using the following npx command:
But it seems like the
index.cjs
detection doesn't work.Output:
I tried both with the
index.cjs
committed to my repo and runningcodemod build
in the previous steps of the pipeline, but nothing seems to help.Looks like an issue with this function, but so far I am not sure what could be going wrong: https://github.com/codemod-com/codemod/blob/main/apps/cli/src/utils.ts#L133.
The text was updated successfully, but these errors were encountered: