mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-18 20:05:05 -04:00
chore: clippy
This commit is contained in:
parent
4896d7c1be
commit
0286678286
1 changed files with 1 additions and 3 deletions
|
@ -83,10 +83,8 @@ impl AppFlowyCoreConfig {
|
||||||
name: String,
|
name: String,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let cloud_config = AFCloudConfiguration::from_env().ok();
|
let cloud_config = AFCloudConfiguration::from_env().ok();
|
||||||
let mut log_crates = vec![];
|
|
||||||
// By default enable sync trace log
|
// By default enable sync trace log
|
||||||
log_crates.push("sync_trace_log".to_string());
|
let log_crates = vec!["sync_trace_log".to_string()];
|
||||||
|
|
||||||
let storage_path = match &cloud_config {
|
let storage_path = match &cloud_config {
|
||||||
None => custom_application_path,
|
None => custom_application_path,
|
||||||
Some(config) => make_user_data_folder(&custom_application_path, &config.base_url),
|
Some(config) => make_user_data_folder(&custom_application_path, &config.base_url),
|
||||||
|
|
Loading…
Add table
Reference in a new issue