~aleteoryx/muditaos

02a8dfa1e9f4aefec7d820c475ed4486f7173408 — Adam Dobrowolski 4 years ago 61ebd9e
[EGD-5238] Fixed no error message on bad style

Fixed no error information on style
1 files changed, 1 insertions(+), 2 deletions(-)

M config/style_check_hook.sh
M config/style_check_hook.sh => config/style_check_hook.sh +1 -2
@@ 147,8 147,7 @@ declare -A results
EXIT_CODE=0
for file in ${FILES}; do
    if [[ ${file} =~ ^.*\.(cpp|hpp|c|h|cxx|gcc|cc)$ ]] && shouldnt_ignore ${file}; then
        check_file "${file}" ${LAST}
        RESULT=$?
        check_file "${file}" ${LAST} || RESULT=$?
        if [[ ${RESULT} -eq 1 ]]; then
            EXIT_CODE=1
        fi