-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix windows paths with --root #3281
fix windows paths with --root #3281
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
9 Ignored Deployments
|
Benchmark for b4f0200Click to view benchmark
|
🟢 CI successful 🟢Thanks |
let project_path = fs.root().join(project_relative); | ||
.unwrap_or(project_relative) | ||
.replace(MAIN_SEPARATOR, "/"); | ||
let project_path = fs.root().join(&project_relative); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have been detected by the join
call, but we run our tests stripping out debug_assert
s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.unwrap_or(project_relative); | ||
let project_path = fs.root().join(project_relative); | ||
.unwrap_or(project_relative) | ||
.replace(MAIN_SEPARATOR, "/"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use sys_to_unix
instead
No description provided.