Skip to content

Commit 162a38b

Browse files
authored
Update check_gibberish to check for aspell availability(#1487)
Hnadle situation where aspell not available
1 parent 7cbf2a3 commit 162a38b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.ci/scripts/check_gibberish

+12
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ else
2424
fi
2525
fi
2626

27+
#######################################################################
28+
#
29+
# check whether aspell spell check evailable
30+
31+
if command -v aspell &> /dev/null; then
32+
echo "Checking $TMPFILE for gibberish"
33+
else
34+
echo "Aspell is not installed or not in PATH."
35+
echo "Gibberish unchecked in $TMPFILE"
36+
exit 0
37+
fi
38+
2739
#######################################################################
2840
#
2941
# run spell check on the extracted sequence

0 commit comments

Comments
 (0)