File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,10 @@ pub fn extract<'i, I: IndexData + 'i>(
178
178
let last_idx = blocks. len ( ) - 1 ;
179
179
active_block = blocks. remove ( last_idx) ;
180
180
}
181
- start_printing = prev_section_end;
181
+ // prev_section_end' line already contained in some block, so start
182
+ // from next one. (Except from case from State::Printing and empty active_block,
183
+ // idk?).
184
+ start_printing = prev_section_end + 1 ;
182
185
} else {
183
186
start_printing = section_start. saturating_sub ( config. context_lines ) ;
184
187
}
@@ -206,6 +209,7 @@ pub fn extract<'i, I: IndexData + 'i>(
206
209
State :: Printing => {
207
210
if lines[ i] . score <= config. block_separator_max_score {
208
211
if !active_block. is_empty ( ) {
212
+ active_block. push ( lines[ i] . line ) ;
209
213
blocks. push ( mem:: replace ( & mut active_block, vec ! [ ] ) ) ;
210
214
}
211
215
prev_section_end = i;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Runner group name: 'Default Larger Runners'
30
30
Machine name: 'runner'
31
31
##[group]Operating System
32
32
Ubuntu
33
- LTS
33
+ 20.04.6
34
34
LTS
35
35
##[endgroup]
36
36
##[group]Runner Image
You can’t perform that action at this time.
0 commit comments