Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Dec 13, 2023
1 parent 3c80de5 commit a9ed472
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion maa-cli/src/run/copilot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{
config::task::{
task_type::MAATask,
value::input::{BoolInput, Input},
Task, TaskConfig, MAAValue,
MAAValue, Task, TaskConfig,
},
debug,
dirs::{self, Ensure},
Expand Down
7 changes: 5 additions & 2 deletions maa-cli/src/run/fight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{
config::task::{
task_type::MAATask,
value::input::{BoolInput, Input, Select},
Task, TaskConfig, MAAValue,
MAAValue, Task, TaskConfig,
},
object,
};
Expand Down Expand Up @@ -44,7 +44,10 @@ where
));

if closedown {
task_config.push(Task::new_with_default(MAATask::CloseDown, MAAValue::default()));
task_config.push(Task::new_with_default(
MAATask::CloseDown,
MAAValue::default(),
));
}

Ok(task_config)
Expand Down
2 changes: 1 addition & 1 deletion maa-cli/src/run/roguelike.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{
config::task::{
task_type::MAATask,
value::input::{BoolInput, Input},
Task, TaskConfig, MAAValue,
MAAValue, Task, TaskConfig,
},
object,
};
Expand Down

0 comments on commit a9ed472

Please sign in to comment.