File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -598,6 +598,7 @@ fn main() {
598
598
output_path,
599
599
romanize_flag,
600
600
logging_flag,
601
+ engine_type,
601
602
processing_mode,
602
603
ignore_flag,
603
604
) ;
@@ -704,6 +705,9 @@ fn main() {
704
705
exit ( 0 ) ;
705
706
}
706
707
708
+ let mut ignore_map: IgnoreMap = IgnoreMap :: default ( ) ;
709
+ let mut stat_vec: Vec < ( String , String ) > = Vec :: new ( ) ;
710
+
707
711
if !disable_maps_processing {
708
712
purge_map (
709
713
original_path,
@@ -717,6 +721,8 @@ fn main() {
717
721
leave_filled,
718
722
purge_empty,
719
723
create_ignore,
724
+ & mut ignore_map,
725
+ & mut stat_vec,
720
726
) ;
721
727
}
722
728
@@ -732,6 +738,8 @@ fn main() {
732
738
leave_filled,
733
739
purge_empty,
734
740
create_ignore,
741
+ & mut ignore_map,
742
+ & mut stat_vec,
735
743
) ;
736
744
}
737
745
@@ -746,6 +754,8 @@ fn main() {
746
754
leave_filled,
747
755
purge_empty,
748
756
create_ignore,
757
+ & mut ignore_map,
758
+ & mut stat_vec,
749
759
) ;
750
760
}
751
761
@@ -760,6 +770,8 @@ fn main() {
760
770
leave_filled,
761
771
purge_empty,
762
772
create_ignore,
773
+ & mut ignore_map,
774
+ & mut stat_vec,
763
775
)
764
776
} else {
765
777
purge_scripts (
@@ -771,9 +783,19 @@ fn main() {
771
783
leave_filled,
772
784
purge_empty,
773
785
create_ignore,
786
+ & mut ignore_map,
787
+ & mut stat_vec,
774
788
) ;
775
789
}
776
790
}
791
+
792
+ if create_ignore {
793
+ write_ignore ( ignore_map, output_path) ;
794
+ }
795
+
796
+ if stat {
797
+ write_stat ( stat_vec, output_path) ;
798
+ }
777
799
}
778
800
"json" => {
779
801
use json:: * ;
You can’t perform that action at this time.
0 commit comments