Skip to content

Conversation

Geoffrey-Pliez
Copy link
Contributor

Description

Fix a problem in relative paths

Indeed, the paths retrieved in the astro config begin with file:/// and the pathname begins with '/' so the relative function returns a bad value.

This generates an error in the build.

scenario

launch firebase deploy on Windows

@Geoffrey-Pliez Geoffrey-Pliez changed the title [Fix] relatives dirs [Fix] Astro relatives dirs Apr 19, 2023
Copy link
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.

Thanks for the fix, I missed testing on Windows

@jamesdaniels
Copy link
Member

I'll add changelog and merge shortly

@Geoffrey-Pliez
Copy link
Contributor Author

Hi @jamesdaniels
Don't forget to approve and merge this fix.
Thanks in advance. ;)

@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.29%. Comparing base (9fd1102) to head (bc45244).
Report is 564 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5709   +/-   ##
=======================================
  Coverage   54.29%   54.29%           
=======================================
  Files         347      347           
  Lines       24034    24035    +1     
  Branches     4960     4960           
=======================================
+ Hits        13049    13050    +1     
  Misses       9788     9788           
  Partials     1197     1197           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Geoffrey-Pliez
Copy link
Contributor Author

Hi @jamesdaniels
I found a cross-platform solution with my latest commit ;)

@jamesdaniels jamesdaniels enabled auto-merge (squash) December 7, 2023 16:39
@jamesdaniels jamesdaniels merged commit ed13fde into firebase:master Dec 7, 2023
joehan added a commit that referenced this pull request Dec 14, 2023