From 21d859d2178c1bbdc5682c95de70cc62e3900a90 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 31 Jul 2022 06:20:44 +0100 Subject: [PATCH] fix tests in CI --- actix-session/src/storage/sled.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-session/src/storage/sled.rs b/actix-session/src/storage/sled.rs index 2e9d5ae9c..077e45fea 100644 --- a/actix-session/src/storage/sled.rs +++ b/actix-session/src/storage/sled.rs @@ -129,7 +129,7 @@ mod tests { SledSessionStore::new( [ - env!("CARGO_TARGET_DIR"), + option_env!("CARGO_TARGET_DIR").unwrap_or("target"), "/tmp-actix-session-tests/", &db_name, "-",