File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ pub struct CheckOptions {
236236/// # Panics
237237///
238238// TODO: Add panics
239+ #[ allow( clippy:: too_many_lines) ]
239240pub ( crate ) fn check_repository < P : ProgressBars , S : Open > (
240241 repo : & Repository < P , S > ,
241242 opts : CheckOptions ,
Original file line number Diff line number Diff line change @@ -559,13 +559,13 @@ fn test_prune(
559559
560560 // run check
561561 let check_opts = CheckOptions :: default ( ) . read_data ( true ) ;
562- repo. check ( check_opts) ?;
562+ let _summary = repo. check ( check_opts) ?;
563563
564564 if !instant_delete {
565565 // re-run if we only marked pack files. As keep-delete = 0, they should be removed here
566566 let plan = repo. prune_plan ( & prune_opts) ?;
567567 repo. prune ( & prune_opts, plan) ?;
568- repo. check ( check_opts) ?;
568+ let _summary = repo. check ( check_opts) ?;
569569 }
570570
571571 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments