From ebabb03e74a2978a16711072ad9bbd4b0ee629df Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sun, 22 Nov 2026 01:57:07 +0100 Subject: [PATCH] fix: read the export cache path from the exporter --- scripts/orchestrate/guards.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/orchestrate/guards.py b/scripts/orchestrate/guards.py index 6d6ce994f..2bddd6321 100644 --- a/scripts/orchestrate/guards.py +++ b/scripts/orchestrate/guards.py @@ -7,6 +7,7 @@ import os from pathlib import Path from core.paths import PLATFORMS_DIR, REPO_ROOT +from exporter.originals import DEFAULT_CACHE from model.registry import load_data_dir_registry @@ -64,7 +65,7 @@ def refuse_offline_without_caches( def refuse_offline_export_without_originals( parser: argparse.ArgumentParser, args: argparse.Namespace, - cache: str = ".cache/upstream-native", + cache: str = DEFAULT_CACHE, ) -> None: """An offline run with --with-export needs each patched file cached.