-
Notifications
You must be signed in to change notification settings - Fork 12
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
Paths with special characters are not properly handled #347
Comments
Hi @tee-yankov, thanks for the issue! Do you suspect that the spaces or the parentheses are causing the issue? And are you suggesting that Best way forward would be if you could provide an example repo that I could clone and run to investigate. 😁 |
Hey @benyap, thank you for the quick reply! I'm pretty sure it's the parentheses that are causing the issue. It didn't seem like I will absolutely provide a repo where this is reproducible in the next few days, apologies for not doing it in the first place. Thanks again! |
Hey @benyap super sorry for the delay on this, but I was swamped. I've provided a repro repo here Just please make sure to clone the project with something along the lines of
so that the problematic characters are in the path. If you run Cheers, and let me know if you need any further help from me! |
@all-contributors add @tee-yankov for bug report |
I've put up a pull request to add @tee-yankov! 🎉 |
Hey @tee-yankov, thanks for your bug report and your patience. This has been fixed in v0.8.20 and should be available in the latest version of the package! (v0.8.22) |
Hi there! Thank you for maintaining this library. My colleagues and I recently stumbled onto a bug that left us scratching our heads for a while, until we figured out the specific reason our build process was failing for only one person on the team.
We concluded that
resolve-tspaths
just doesn't handle paths with special characters well.To reproduce this, have a path such as:
Then running
resolve-tspaths --verbose
in that directory. This will result inresolve-tspaths
detecting no files to process, even though there are such files. We saw thatfilesToProcess
from the--verbose
output was just empty in this case. The fix for us was simply changing the path to something like:Which works perfectly fine! Spaces didn't seem to be an issue in my tests.
Thanks again, and don't hesitate to reach out if you need further reproduction steps.
The text was updated successfully, but these errors were encountered: