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

Incorrect paths on Windows #52

Open
mglaman opened this issue Oct 9, 2020 · 0 comments
Open

Incorrect paths on Windows #52

mglaman opened this issue Oct 9, 2020 · 0 comments

Comments

@mglaman
Copy link

mglaman commented Oct 9, 2020

I was working on mglaman/drupal-check#189 and noticed that weird paths were returned in realpath was called for the Drupal path.

Analyzing path: C:\projects\drupal\web\core\install.php
Using Drupal root: C:\projects\drupal/web
Using vendor root: C:\projects\drupal/vendor

The web and vendor paths have /. I know PHP fixes incorrect directory separators most of the time. But in AppVeyor I get crashes like

The filename, directory name, or volume label syntax is incorrect.
``

And I think it's because `cmd` chokes on `/`.
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