From 7fe378ba65e4e6a262347c807907274f2bfac8cb Mon Sep 17 00:00:00 2001 From: Willard Date: Fri, 3 May 2024 20:46:48 +0200 Subject: [PATCH] dotenvy check --- tests/test-data-setup/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test-data-setup/src/main.rs b/tests/test-data-setup/src/main.rs index 8ee2e5e..4838100 100644 --- a/tests/test-data-setup/src/main.rs +++ b/tests/test-data-setup/src/main.rs @@ -8,7 +8,9 @@ fn main() { return; } - dotenvy::dotenv().expect("dotenvy failed"); + if dotenvy::dotenv().is_err() { + println!(".env not found..."); + } println!("Extracting test data...");