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

Fix custom fonts assets path #601

Merged
merged 4 commits into from
Apr 30, 2024
Merged

Fix custom fonts assets path #601

merged 4 commits into from
Apr 30, 2024

Conversation

matiasbenedetto
Copy link
Contributor

What?

Fix the custom fonts assets path in the exported zip.
Fixes: #600

How?

The two extra slashes from the path were removed. This removed the two empty folders being added to the zip file.

Testing instructions:

See #600

@matiasbenedetto matiasbenedetto added the bug Something isn't working label Apr 26, 2024
@vcanales
Copy link
Member

I haven't been able to reproduce the issue; how do you suggest looking at the zip file in order to verify that it's including extra empty directories?

Copy link
Member

@vcanales vcanales left a comment

Choose a reason for hiding this comment

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

Looking at this again. I think it doesn't hurt to guard against extra slashes, even if I can't figure out how to reproduce the exact issue. LGTM, pending considering the suggestion here

@matiasbenedetto
Copy link
Contributor Author

I haven't been able to reproduce the issue; how do you suggest looking at the zip file in order to verify that it's including extra empty directories?

@vcanales, here is a screencast showing the problem:

Screencast.from.30-04-24.12.54.43.webm

matiasbenedetto and others added 3 commits April 30, 2024 13:25
Co-authored-by: Vicente Canales <1157901+vcanales@users.noreply.github.com>
…eate-block-theme into fix/custom-font-assets-path
Copy link
Contributor

@pbking pbking left a comment

Choose a reason for hiding this comment

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

Works as expected. Cleans up the code.

🚢

@pbking pbking merged commit 058c6fe into trunk Apr 30, 2024
2 checks passed
@pbking pbking deleted the fix/custom-font-assets-path branch April 30, 2024 16:26
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
Development

Successfully merging this pull request may close these issues.

Eported custom fonts path are wrong in the zip
4 participants