no reason to run the dedup code if we don't plan of adding it

This commit is contained in:
Zane C. B-H 2019-09-03 06:34:58 -05:00
parent 199576e71c
commit b54fcc024c
1 changed files with 4 additions and 1 deletions

View File

@ -548,7 +548,10 @@ sub run{
# begin deduping
my $name= color( $self->{file_colors}[5] ).$line_split[7].color( 'reset' );
if ( ! $self->{dont_dedup} ){
if (
( ! $self->{dont_dedup} ) &&
( ! $dont_add )
){
if (
( $line_split[3] =~ /[Vv][Rr][Ee][Gg]/ ) ||
( $line_split[3] =~ /[Rr][Ee][Gg]/ ) ||