From 33712bbae1604c462451505c52abd097b0ad851e Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Wed, 11 Jun 2025 09:26:53 +0200 Subject: [PATCH] fixed other stupid bug --- src/utils/build_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/build_handlers.py b/src/utils/build_handlers.py index 855b6dc..5c97476 100644 --- a/src/utils/build_handlers.py +++ b/src/utils/build_handlers.py @@ -160,7 +160,7 @@ class BuildHandler(ABC): for file_path, change in changes.items(): full_path = os.path.abspath(os.path.join(self.path, file_path)) assert ( - os.path.commonpath([self.path, full_path]) != self.path + os.path.commonpath([self.path, full_path]) == self.path ), "Attempting to write to a file outside the repo. This is not allowed" print(f"[INFO] Writing change to {full_path}")