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

Can't get fileName when path.sep='\\' #2

Open
Julia95Qian opened this issue Mar 22, 2024 · 1 comment
Open

Can't get fileName when path.sep='\\' #2

Julia95Qian opened this issue Mar 22, 2024 · 1 comment

Comments

@Julia95Qian
Copy link

Hello author, great work.
There is a little problem when the project run on my computer(windows system). My file path is './src/components/a.tsx', but after 'findFilePathsByExtensions' it was changed into 'src\components\a.tsx' and can't be matched to (//([^/]+).\w+$/). Because path.join will use path.sep to concat filepath string. Hope it can be improved to match filepath with "\"
image

@VonragLirik
Copy link

have same problem

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

2 participants