From 27b9b609dafca4448a86c057aa8e72e156ecdeb9 Mon Sep 17 00:00:00 2001 From: Roardom Date: Sat, 18 Jan 2025 03:48:32 +0000 Subject: [PATCH] update: show path to .env file used on startup --- src/tracker.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tracker.rs b/src/tracker.rs index 877d2d0..e4ea83f 100644 --- a/src/tracker.rs +++ b/src/tracker.rs @@ -65,8 +65,8 @@ impl Tracker { pub async fn default() -> Result> { print!(".env file: verifying file exists ... "); io::stdout().flush().unwrap(); - dotenv().context(".env file not found.")?; - println!("[Finished]"); + let env_path = dotenv().context(".env file not found.")?; + println!("[Finished] Path: {:?}", env_path); print!("Loading config from env ... "); io::stdout().flush().unwrap();