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.
This commit is contained in:
Rahix 2025-07-28 15:28:46 +02:00
parent d4b8241808
commit 92e8ea066f

View file

@ -30,7 +30,9 @@ async fn run() -> anyhow::Result<()> {
log::warn!("Fake tree!"); log::warn!("Fake tree!");
event_meta::fake() event_meta::fake()
} else { } 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!( log::info!(