File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6565
6666echo " Found ${# actual_file_groups[@]} groups of files to process."
6767
68- i =0
68+ idx =0
6969for group_files in " ${actual_file_groups[@]} " ; do
70- echo " Processing group $i : ${group_files} "
70+ echo " Processing group $idx : ${group_files} "
7171
72- tmp_id=" group_$i "
72+ tmp_id=" group_$idx "
7373
7474 actual_files=" "
7575
@@ -96,9 +96,9 @@ for group_files in "${actual_file_groups[@]}"; do
9696 docker run --rm -v " $after_tmp :/diff/left" -v " $before_tmp :/diff/right" -p 4567:4567 rozelin/gumtree:latest axmldiff left/$tmp_id .tsx right/$tmp_id .tsx > " $map_file_tmp_dir /$tmp_id .diff.xml"
9797 node ./scripts/diff-match/for-multi.mjs --file $map_file_tmp_dir /$tmp_id .diff.xml --multiFiles $actual_files --projectRootDir $project_root_dir --idMapDir $map_file_dir --beforeTmpDir $before_tmp --afterTmpDir $after_tmp
9898
99- echo " Finish processing group $i with files: $actual_files "
99+ echo " Finish processing group $idx with files: $actual_files "
100100
101- (( i ++ ))
101+ (( idx ++ ))
102102done
103103
104104echo " All groups processed successfully."
You can’t perform that action at this time.
0 commit comments