Skip to content

Commit d52f792

Browse files
committed
dockerの終了コードも確認
1 parent e0db9da commit d52f792

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/diff-match/for-multi.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ for group_files in "${actual_file_groups[@]}"; do
9292

9393
# Do diff matching
9494
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+
9599
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
96100

97101
node_exit_code=$?

0 commit comments

Comments
 (0)