From 7b3b1d951c812f472b6fc03f10f092cb13e722ce Mon Sep 17 00:00:00 2001 From: Fraser Davidson Date: Mon, 18 Nov 2024 15:28:49 +0000 Subject: [PATCH] WIP --- scripts/lock_providers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lock_providers.py b/scripts/lock_providers.py index 47430d8..4405c55 100644 --- a/scripts/lock_providers.py +++ b/scripts/lock_providers.py @@ -2,5 +2,5 @@ from helpers.lock_terraform_providers import lock_terraform_providers if __name__ == "__main__": - for directory in [f.path for f in os.scandir(os.path.join(os.getcwd(), "modules")) if f.is_dir()]: - lock_terraform_providers(os.path.join(directory, "test")) + for dir in [f.path for f in os.scandir(os.path.join(os.getcwd(), "modules")) if f.is_dir()]: + lock_terraform_providers(os.path.join(dir, "test"))