aboutsummaryrefslogtreecommitdiff
path: root/contrib/libcbor/clang-format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcbor/clang-format.sh')
-rwxr-xr-xcontrib/libcbor/clang-format.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/contrib/libcbor/clang-format.sh b/contrib/libcbor/clang-format.sh
index e4076500c4f0..311ed4225bc8 100755
--- a/contrib/libcbor/clang-format.sh
+++ b/contrib/libcbor/clang-format.sh
@@ -7,11 +7,4 @@ SOURCES=$(find ${DIRS} -name "*.c")
SOURCES+=" $(find ${DIRS} -name "*.h")"
SOURCES+=" $(find ${DIRS} -name "*.cpp")"
-# TravisCI workaround to use new clang-format while avoiding painful aliasing
-# into the subshell
-if which clang-format-8; then
- clang-format-8 $@ -style=file -i ${SOURCES}
-else
- clang-format $@ -style=file -i ${SOURCES}
-fi
-
+clang-format $@ -style=file -i ${SOURCES}