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

speedup windows ci on stable #2122

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

patricklx
Copy link
Contributor

No description provided.

@@ -12,7 +12,7 @@ export function explicitRelative(fromDir: string, toFile: string) {
if (!isAbsolute(result) && !result.startsWith('.')) {
result = './' + result;
}
if (isAbsolute(toFile) && result.endsWith(toFile)) {
if (isAbsolute(toFile) && result.split(sep).join('/').endsWith(toFile)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if this is necessary the real bug is elsewhere. Callers are supposed to be passing toFile in system format. If they're passing it in unix format on windows, that is the bug.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i copied this from main. #2048

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, ok.

@ef4 ef4 added the bug Something isn't working label Sep 24, 2024
@ef4 ef4 merged commit 30f4293 into embroider-build:stable Sep 24, 2024
215 of 216 checks passed
@github-actions github-actions bot mentioned this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants