Skip to content

Commit 8619148

Browse files
committed
undo uncrustify fix
1 parent 8b1e5ac commit 8619148

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runformat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
UNCRUSTIFY_VERSION="0.80.1"
1515
UNCRUSTIFY="${UNCRUSTIFY-uncrustify}"
1616

17-
DETECTED_VERSION=$("$UNCRUSTIFY" --version 2>&1 | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
18-
if [[ "$DETECTED_VERSION" != "${UNCRUSTIFY_VERSION}" ]]; then
17+
DETECTED_VERSION=$("$UNCRUSTIFY" --version 2>&1 | grep -o -E '[0-9.]+')
18+
if [ "$DETECTED_VERSION" != "${UNCRUSTIFY_VERSION}" ]; then
1919
echo "You should use version: ${UNCRUSTIFY_VERSION}"
2020
echo "Detected version: ${DETECTED_VERSION}"
2121
exit 1

0 commit comments

Comments
 (0)