mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-05 09:13:28 +00:00
damn i'm stupid
This commit is contained in:
parent
d99adcf7ca
commit
8396d0f3ee
|
@ -55,8 +55,6 @@ const CONSOLE_LOG_FILTER: tracing_subscriber::filter::LevelFilter = {
|
|||
impl Node {
|
||||
pub async fn new(data_dir: impl AsRef<Path>) -> Result<(Arc<Node>, Arc<Router>), 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;
|
||||
|
|
Loading…
Reference in a new issue