refactor: read the repo root from core.paths

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 13:46:15 +01:00
1 parent 6465bd99b1
commit 18e91f8c07
7 files changed
+15 -14

No files matched your search

+2 -1
View File
@@ -1149,7 +1149,8 @@ def main() -> None:
# root. Run from elsewhere, every file read as referenced by no platform
# and placed outside bios/. The files named are read from where they
# were typed.
from verify import REPO_ROOT, work_from_repo_root
from core.paths import REPO_ROOT
from model.cliargs import work_from_repo_root
if os.path.realpath(os.getcwd()) != os.path.realpath(REPO_ROOT):
args.files = [os.path.abspath(f) for f in args.files]