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

ensureAbsolutePathForCwd method issue #153

Closed
merickiranoglu opened this issue Sep 14, 2020 · 1 comment · Fixed by #171
Closed

ensureAbsolutePathForCwd method issue #153

merickiranoglu opened this issue Sep 14, 2020 · 1 comment · Fixed by #171

Comments

@merickiranoglu
Copy link

merickiranoglu commented Sep 14, 2020

Greetings,

I've faced a problem while performing a nuxt generation. I've fixed it for my case, but I felt like I should report this.

cwd is... C:/Documents/ExampleFolder/...
p is... C:\Documents\ExampleFolder...

I had to add this line of command to make it work.
cwd = cwd.toString().replace(/\/gi,'/');

You might wanna check if cwd contains "\" character, or you will most probably provide a better solution.

@GerHobbelt
Copy link

related to #155. All paths fed into globby should indeed have their directory separators set to UNIX / via .replace(/\\/g, '/')

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

Successfully merging a pull request may close this issue.

2 participants