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

Hotfix for SnapLocation paths being wrongly normalized #1053

Merged
merged 4 commits into from Dec 8, 2022

Conversation

ritave
Copy link
Member

@ritave ritave commented Dec 7, 2022

This PR stops prefixing paths internally with ./. It also adds SnapManifest coercing that normalizes the bundle and icon paths to be non-prefixed.

@ritave ritave requested a review from a team as a code owner December 7, 2022 17:25
Copy link
Member Author

@ritave ritave left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2022

Codecov Report

Merging #1053 (fa99b12) into main (84937ac) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1053      +/-   ##
==========================================
+ Coverage   93.50%   93.52%   +0.02%     
==========================================
  Files          94       95       +1     
  Lines        9882     9922      +40     
  Branches      936      941       +5     
==========================================
+ Hits         9240     9280      +40     
  Misses        642      642              
Impacted Files Coverage Δ
packages/snaps-utils/src/manifest/validation.ts 100.00% <100.00%> (ø)
packages/snaps-utils/src/path.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@FrederikBolding FrederikBolding merged commit d448de7 into main Dec 8, 2022
@FrederikBolding FrederikBolding deleted the ritave/hotfix branch December 8, 2022 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants