From abf6a87aea0381f2fc365a9193db1dd9a8a953b1 Mon Sep 17 00:00:00 2001 From: mikereiddigital Date: Thu, 31 Oct 2024 09:56:20 +0000 Subject: [PATCH] testing the exclusion --- scripts/confirm-environment-owner/get-environment-owners.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/confirm-environment-owner/get-environment-owners.sh b/scripts/confirm-environment-owner/get-environment-owners.sh index f1d19f46f..4a3a69847 100755 --- a/scripts/confirm-environment-owner/get-environment-owners.sh +++ b/scripts/confirm-environment-owner/get-environment-owners.sh @@ -32,7 +32,7 @@ for file in "$DIR"/*.json; do FILE_NAME=$(basename "$file" .json) # Ensures we ignore the Modernisaiton Platform environments. - if [[ ! " ${MP_ENVS[@]} " =~ " $file " ]]; then + if [[ ! " ${MP_ENVS[@]} " =~ " $FILE_NAME " ]]; then file_path="$REMOTE_DIR/$FILE_NAME.json"