Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring cinsp and clang script verbosity #105

Merged
merged 1 commit into from
Jul 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/makefile/baseconfig-langcode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ then
done
if [ $FAIL -eq 1 ]
then
echo -e "$MESSAGE_OUTPUT \n\n\e[33mBase configs should always be in same language as default site language.\e[0m\n\n\e[31mCOMMIT REJECTED!\e[0m\n"
echo -e "$MESSAGE_OUTPUT \n\n\e[33mBase configs should have the same langcode as default site language.\n"
else
echo "Langcode of config files are valid"
fi
exit $FAIL
fi
3 changes: 2 additions & 1 deletion scripts/makefile/config-inspector-validation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ ERROR_COUNT=$(drush config:inspect --only-error --format=string | wc -l)

# Exit1 and alert if logs
if [ "$ERROR_COUNT" -gt "0" ]; then
printf "There are \033[1m$ERROR_COUNT errors\033[0m identified by config_inspector to fix :\n"
printf "\n- \033[1m$ERROR_COUNT error(s)\033[0m identified by config_inspector to fix :\n"
drush config:inspect --only-error
echo -e "\nConfiguration is not valid : \n- Go to \033[1m/admin/config/development/configuration/inspect\033[0m for more details\n"
exit 1
else
echo -e "Configuration is valid"
Expand Down