Skip to content

Commit 87624b3

Browse files
committed
tools/errorid.sh: suppressed ShellCheck warnings
1 parent 6f108bd commit 87624b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/errorid.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ while read -r id; do
1212
continue
1313
fi
1414
$SCRIPT_DIR/../cppcheck --errorlist | grep "id=\"$id\"" > /dev/null
15+
# shellcheck disable=SC2181
1516
if [ $? -ne 0 ]; then
1617
echo $id
1718
fi
@@ -23,6 +24,7 @@ echo 'no test coverage:'
2324
$SCRIPT_DIR/../cppcheck --errorlist | grep -h -o -P 'id=\"[a-zA-Z0-9_]*\"' | sed 's/\id=//' | tr -d '\"' | sort -u | \
2425
while read -r id; do
2526
grep -h -o -P "\[$id\]\\\\n\"" $SCRIPT_DIR/../test/*.cpp > /dev/null
27+
# shellcheck disable=SC2181
2628
if [ $? -ne 0 ]; then
2729
echo $id
2830
fi

0 commit comments

Comments
 (0)