Add problem matching for gcc and nxstyle to github actions

This commit is contained in:
Brennan Ashton
2020-05-31 14:19:21 -07:00
committed by Xiang Xiao
parent 8ae0a13b36
commit 0430c6ccc8
5 changed files with 60 additions and 1 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ check_ranges() {
check_file $path
fi
fi
path=${BASH_REMATCH[3]}
path=$(realpath "${BASH_REMATCH[3]}")
ranges=""
elif [[ $REPLY =~ @@\ -[0-9]+(,[0-9]+)?\ \+([0-9]+,[0-9]+)?\ @@.* ]]; then
ranges+="-r ${BASH_REMATCH[2]} "