From 8396d0f3ee987d8972a1b2887c56b347ebe60543 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Tue, 7 Feb 2023 21:00:27 +0800 Subject: [PATCH] damn i'm stupid --- core/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/lib.rs b/core/src/lib.rs index 5cdda5422..55ded9bae 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -55,8 +55,6 @@ const CONSOLE_LOG_FILTER: tracing_subscriber::filter::LevelFilter = { impl Node { pub async fn new(data_dir: impl AsRef) -> Result<(Arc, Arc), NodeError> { let data_dir = data_dir.as_ref(); - #[cfg(debug_assertions)] - let data_dir = data_dir.join("dev"); // This error is ignored because it's throwing on mobile despite the folder existing. let _ = fs::create_dir_all(&data_dir).await;