Skip to content
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

jscodeshift does not save function boundary locally #58

Open
InoahI opened this issue Apr 9, 2024 · 1 comment
Open

jscodeshift does not save function boundary locally #58

InoahI opened this issue Apr 9, 2024 · 1 comment

Comments

@InoahI
Copy link
Collaborator

InoahI commented Apr 9, 2024

error:(ERROR) tenet : jscodeshift output file /tmp/jscodeshift/omphalos/crud-file-server/4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa/output.txt is empty

Got the error when I use jscodeshift on the same dataset for the second time.

The reason I guess is that it seems that the function boundaries are only store in the database. And the code did create the files , for instance /tmp/jscodeshift/omphalos/crud-file-server/4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa/output.txt. However, failed to store the function boundary there. This might be the reason that if I run jscodeshift on the same dataset for the second time, the file (/tmp/jscodeshift/omphalos/crud-file-server/4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa/output.txt) does exist, but it is empty.

@InoahI
Copy link
Collaborator Author

InoahI commented Apr 9, 2024

to reproduce the error, use jscodeshift on a dataset and run the same command again. Please let me know if it is the error only on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant