Skip to content

Commit fb6569d

Browse files
committed
fix clippy
1 parent 91cc663 commit fb6569d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsc/src/subcommand.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ fn initialize_config_root(path: &Option<String>) -> Option<String> {
223223
let use_stdin = if let Some(specified_path) = path {
224224
if specified_path != "-" {
225225
return Some(set_dscconfigroot(specified_path));
226-
} else {
227-
true
228226
}
227+
228+
true
229229
} else {
230230
false
231231
};

0 commit comments

Comments
 (0)