MaaAssistantArknights / maa-cli

MAA命令行工具 | A simple CLI for MAA.
GNU Affero General Public License v3.0
39 stars 8 forks source link

fix: retry `remove_dir_all` 3 times in `ensure_clean` #320

Closed wangl-cc closed 1 month ago

wangl-cc commented 1 month ago

Workaround of the #319

wangl-cc commented 1 month ago

@starrin 既然失败了就多等一会吧,也不差这一两秒

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 63.15%. Comparing base (3ffe5d8) to head (508498d). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
maa-cli/src/dirs.rs 50.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #320 +/- ## ========================================== - Coverage 63.20% 63.15% -0.05% ========================================== Files 42 42 Lines 3386 3395 +9 ========================================== + Hits 2140 2144 +4 - Misses 1246 1251 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.