refactor: use trait object for progress bar wrappers #1182
65.88% of diff hit (target 81.70%)
View this Pull Request on Codecov
65.88% of diff hit (target 81.70%)
Annotations
Check warning on line 62 in src/cli/prune.rs
codecov / codecov/patch
src/cli/prune.rs#L62
Added line #L62 was not covered by tests
Check warning on line 66 in src/cli/prune.rs
codecov / codecov/patch
src/cli/prune.rs#L65-L66
Added lines #L65 - L66 were not covered by tests
Check warning on line 62 in src/cli/uninstall.rs
codecov / codecov/patch
src/cli/uninstall.rs#L62
Added line #L62 was not covered by tests
Check warning on line 90 in src/plugins/core/node.rs
codecov / codecov/patch
src/plugins/core/node.rs#L90
Added line #L90 was not covered by tests
Check warning on line 133 in src/plugins/core/node.rs
codecov / codecov/patch
src/plugins/core/node.rs#L130-L133
Added lines #L130 - L133 were not covered by tests
Check warning on line 117 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L117
Added line #L117 was not covered by tests
Check warning on line 147 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L146-L147
Added lines #L146 - L147 were not covered by tests
Check warning on line 156 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L155-L156
Added lines #L155 - L156 were not covered by tests
Check warning on line 259 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L259
Added line #L259 was not covered by tests
Check warning on line 261 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L261
Added line #L261 was not covered by tests
Check warning on line 289 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L289
Added line #L289 was not covered by tests
Check warning on line 292 in src/plugins/core/node_build.rs
codecov / codecov/patch
src/plugins/core/node_build.rs#L291-L292
Added lines #L291 - L292 were not covered by tests
Check warning on line 93 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L93
Added line #L93 was not covered by tests
Check warning on line 98 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L98
Added line #L98 was not covered by tests
Check warning on line 159 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L158-L159
Added lines #L158 - L159 were not covered by tests
Check warning on line 190 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L190
Added line #L190 was not covered by tests
Check warning on line 192 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L192
Added line #L192 was not covered by tests
Check warning on line 220 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L219-L220
Added lines #L219 - L220 were not covered by tests
Check warning on line 223 in src/plugins/core/python.rs
codecov / codecov/patch
src/plugins/core/python.rs#L223
Added line #L223 was not covered by tests
Check warning on line 175 in src/plugins/core/ruby.rs
codecov / codecov/patch
src/plugins/core/ruby.rs#L175
Added line #L175 was not covered by tests
Check warning on line 201 in src/plugins/core/ruby.rs
codecov / codecov/patch
src/plugins/core/ruby.rs#L200-L201
Added lines #L200 - L201 were not covered by tests
Check warning on line 210 in src/plugins/core/ruby.rs
codecov / codecov/patch
src/plugins/core/ruby.rs#L209-L210
Added lines #L209 - L210 were not covered by tests
Check warning on line 249 in src/plugins/core/ruby.rs
codecov / codecov/patch
src/plugins/core/ruby.rs#L249
Added line #L249 was not covered by tests
Check warning on line 357 in src/plugins/core/ruby.rs
codecov / codecov/patch
src/plugins/core/ruby.rs#L357
Added line #L357 was not covered by tests
Check warning on line 360 in src/plugins/core/ruby.rs
codecov / codecov/patch
src/plugins/core/ruby.rs#L359-L360
Added lines #L359 - L360 were not covered by tests