mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-08 07:12:49 +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 {
|
impl Node {
|
||||||
pub async fn new(data_dir: impl AsRef<Path>) -> Result<(Arc<Node>, Arc<Router>), NodeError> {
|
pub async fn new(data_dir: impl AsRef<Path>) -> Result<(Arc<Node>, Arc<Router>), NodeError> {
|
||||||
let data_dir = data_dir.as_ref();
|
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.
|
// This error is ignored because it's throwing on mobile despite the folder existing.
|
||||||
let _ = fs::create_dir_all(&data_dir).await;
|
let _ = fs::create_dir_all(&data_dir).await;
|
||||||
|
|
Loading…
Reference in a new issue