Merge pull request #35 from github/AnsibleLogic

adding message
This commit is contained in:
Lukas Gravley 2020-01-07 14:49:18 -06:00 committed by GitHub
commit 8ed5e0e4d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1763,7 +1763,14 @@ LintAnsibleFiles()
############################################################### ###############################################################
# No need to run the full ansible checks on read only file changes # No need to run the full ansible checks on read only file changes
if [ "$READ_ONLY_CHANGE_FLAG" -eq 0 ]; then if [ "$READ_ONLY_CHANGE_FLAG" -eq 0 ]; then
##########################
# Set the array to empty #
##########################
LIST_FILES=() LIST_FILES=()
###################################
# Send message that were skipping #
###################################
echo "- Skipping Ansible lint run as file(s) that were modified were read only..."
fi fi
################## ##################