We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 563843c commit adbb659Copy full SHA for adbb659
1 file changed
objdiff-gui/src/jobs.rs
@@ -93,10 +93,10 @@ impl From<&AppConfig> for BuildConfig {
93
94
pub fn build_config(state: &AppState) -> BuildConfig {
95
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
- }
+ if let Some(project) = &state.current_project_config
+ && let Some(args) = &project.custom_make_all_args
+ {
+ config.custom_make_all_args = Some(args.clone());
100
}
101
config
102
0 commit comments