Skip to content

Commit 4c5a0ea

Browse files
committed
プリントデバッグ
1 parent d52f792 commit 4c5a0ea

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

scripts/diff-match/for-multi.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ for commit in $commits; do
3333
grep "^$target_dir" |
3434
grep -E "$target_file_pattern" || true
3535
)
36+
readarray_exit_code=$?
37+
echo "Readarray exit code: $readarray_exit_code"
3638

3739
if [ "${#current_files[@]}" -eq 0 ]; then
3840
echo " No relevant files changed in this commit. Skipping."
@@ -92,15 +94,8 @@ for group_files in "${actual_file_groups[@]}"; do
9294

9395
# Do diff matching
9496
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"
95-
96-
docker_exit_code=$?
97-
echo "docker exited with code $docker_exit_code"
98-
9997
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
10098

101-
node_exit_code=$?
102-
echo "node exited with code $node_exit_code"
103-
10499
echo "Finish processing group $i with files: $actual_files"
105100

106101
((i++))

0 commit comments

Comments
 (0)