From 92e8ea066f3840a05ef7ab41041a57b4dce258e1 Mon Sep 17 00:00:00 2001 From: Rahix Date: Mon, 28 Jul 2025 15:28:46 +0200 Subject: [PATCH] Hint about TECHTREE_FAKE=1 trick Make it easier to get started with the techtree-manager codebase by hinting at the TECHTREE_FAKE=1 variable for local development. --- techtree-manager/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/techtree-manager/src/main.rs b/techtree-manager/src/main.rs index bfb830a..9d6caff 100644 --- a/techtree-manager/src/main.rs +++ b/techtree-manager/src/main.rs @@ -30,7 +30,9 @@ async fn run() -> anyhow::Result<()> { log::warn!("Fake tree!"); event_meta::fake() } else { - event_meta::get_issue_event_meta_from_env().context("Failed reading issue event data")? + event_meta::get_issue_event_meta_from_env() + .context("Maybe you want to run with TECHTREE_FAKE=1?") + .context("Failed reading issue event data")? }; log::info!(