Skip to content

Fix path issue in Windows deployments for Next.js SSR#7148

Merged
leoortizz merged 6 commits intomasterfrom
leoortizz_fix7146
May 20, 2024
Merged

Fix path issue in Windows deployments for Next.js SSR#7148
leoortizz merged 6 commits intomasterfrom
leoortizz_fix7146

Conversation

@leoortizz
Copy link
Copy Markdown
Member

@leoortizz leoortizz commented May 9, 2024

Description

The realpath option in Windows was conflicting with absolute: false, causing glob to return absolute paths in Windows. Now that relative paths are expected and the final path is built with join, we don't need realpath anymore.

Fixes #7146.

Scenarios Tested

https://github.com/firebase/firebase-tools/actions/runs/9022861095/job/24793571043?pr=7032

Sample Commands

@leoortizz leoortizz marked this pull request as draft May 9, 2024 20:04
leoortizz added a commit that referenced this pull request May 9, 2024
@leoortizz leoortizz self-assigned this May 9, 2024
@leoortizz leoortizz requested a review from jamesdaniels May 9, 2024 20:21
@leoortizz leoortizz marked this pull request as ready for review May 9, 2024 20:21
@leoortizz leoortizz changed the title remove realpath option May 9, 2024
@leoortizz leoortizz enabled auto-merge (squash) May 9, 2024 20:58
Copy link
Copy Markdown
Member

@jamesdaniels jamesdaniels left a comment

Choose a reason for hiding this comment

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

LGTM, we're in codefreeze RN. We can merge once lifted

@leoortizz leoortizz merged commit e242108 into master May 20, 2024
@leoortizz leoortizz deleted the leoortizz_fix7146 branch May 20, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment