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

Fixed setup --force when submodules don't exist #465

Merged
merged 4 commits into from
Mar 7, 2023

Conversation

bkarstens
Copy link
Contributor

If stuart_setup was called with the --force option when the submodules aren't initialized (either new clone or they were deinit'd), the setup would fail. This fixes that problem.

@codecov
Copy link

codecov bot commented Mar 7, 2023

Codecov Report

Merging #465 (69d2276) into master (0a6c3c5) will decrease coverage by 0.10%.
The diff coverage is 76.47%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #465      +/-   ##
==========================================
- Coverage   79.42%   79.32%   -0.10%     
==========================================
  Files          45       45              
  Lines        4519     4532      +13     
==========================================
+ Hits         3589     3595       +6     
- Misses        930      937       +7     
Impacted Files Coverage Δ
edk2toolext/invocables/edk2_setup.py 88.04% <66.66%> (-7.20%) ⬇️
edk2toolext/environment/repo_resolver.py 91.85% <100.00%> (+0.18%) ⬆️

Updates an unrealistic test to be realistic and make the appropriate
exception handling changes to pass the test as expected.
@Javagedes Javagedes added the bug Something isn't working label Mar 7, 2023
@Javagedes Javagedes added this to the 0.22.2 milestone Mar 7, 2023
@Javagedes Javagedes merged commit 3bffe55 into tianocore:master Mar 7, 2023
@Javagedes Javagedes mentioned this pull request Mar 9, 2023
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants