[continuous-integration] fix API change detector (#5589)

This commit is contained in:
Moandor
2020-09-28 08:29:50 -07:00
committed by GitHub
parent 81996b0f3b
commit 3d22a37267
+1 -1
View File
@@ -46,7 +46,7 @@ main()
git fetch --depth 1 origin "${OT_SHA_OLD}"
if git diff --name-only "${OT_SHA_OLD}" -- include/openthread; then
if git diff --name-only --exit-code "${OT_SHA_OLD}" -- include/openthread; then
echo 'No OpenThread public APIs updates.'
exit 0
fi