From eaa647ae588736932c8cad2d4876cd0d6d79ba79 Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Tue, 7 Jan 2020 14:46:57 -0600 Subject: [PATCH] adding message --- lib/linter.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/linter.sh b/lib/linter.sh index 5f0174bd..a90c2c07 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1763,7 +1763,14 @@ LintAnsibleFiles() ############################################################### # No need to run the full ansible checks on read only file changes if [ "$READ_ONLY_CHANGE_FLAG" -eq 0 ]; then + ########################## + # Set the array to empty # + ########################## LIST_FILES=() + ################################### + # Send message that were skipping # + ################################### + echo "- Skipping Ansible lint run as file(s) that were modified were read only..." fi ##################