Skip to content

Commit adbb659

Browse files
committed
Cleanup
1 parent 563843c commit adbb659

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

objdiff-gui/src/jobs.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ impl From<&AppConfig> for BuildConfig {
9393

9494
pub fn build_config(state: &AppState) -> BuildConfig {
9595
let mut config = BuildConfig::from(&state.config);
96-
if let Some(project) = &state.current_project_config {
97-
if let Some(args) = &project.custom_make_all_args {
98-
config.custom_make_all_args = Some(args.clone());
99-
}
96+
if let Some(project) = &state.current_project_config
97+
&& let Some(args) = &project.custom_make_all_args
98+
{
99+
config.custom_make_all_args = Some(args.clone());
100100
}
101101
config
102102
}

0 commit comments

Comments
 (0)