mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
fix(check_qml_syntax): exit 0 if qmllint is not available!
This commit is contained in:
parent
4590970760
commit
e5c5b37466
1 changed files with 2 additions and 2 deletions
|
|
@ -19,13 +19,13 @@ cd $SCRIPT_DIR/..
|
|||
|
||||
if ! [ -x "$( command -v "$LINTER" )" ]; then
|
||||
printf "${RED}Unable to find ${LINTER}.${NC}\n"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
"${LINTER}" -v 2> /dev/null 1>&2
|
||||
if [[ $? != 0 ]] ; then
|
||||
printf "${RED}Unable to check qml syntax.${NC}\n"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
printf "${BLUE}Checking qml files...${NC}\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue