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: prevent invalid roots to be defined #577

Merged
merged 2 commits into from Apr 11, 2023
Merged

fix: prevent invalid roots to be defined #577

merged 2 commits into from Apr 11, 2023

Conversation

skjnldsv
Copy link
Contributor

@skjnldsv skjnldsv commented Feb 3, 2023

A bit more safeguards and fixes the path computation that goes with it

@skjnldsv skjnldsv self-assigned this Feb 3, 2023
@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.44 ⚠️

Comparison is base (28dbb82) 100.00% compared to head (2aa9658) 99.56%.

❗ Current head 2aa9658 differs from pull request most recent head 1e6dab6. Consider uploading reports for the commit 1e6dab6 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##            master     #577      +/-   ##
===========================================
- Coverage   100.00%   99.56%   -0.44%     
===========================================
  Files           10       10              
  Lines          224      232       +8     
  Branches        62       68       +6     
===========================================
+ Hits           224      231       +7     
- Misses           0        1       +1     
Impacted Files Coverage Δ
lib/files/node.ts 97.82% <100.00%> (-2.18%) ⬇️
lib/files/nodeData.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.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

lib/files/node.ts Outdated Show resolved Hide resolved
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@skjnldsv skjnldsv enabled auto-merge April 11, 2023 07:24
@skjnldsv skjnldsv merged commit 9ca0c7c into master Apr 11, 2023
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/root-guards branch April 11, 2023 07:26
@skjnldsv skjnldsv mentioned this pull request Nov 8, 2023
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

2 participants