Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
Signed-off-by: Omar Mohamed <[email protected]>
  • Loading branch information
omar-mohamed-khallaf committed Jan 18, 2025
1 parent d5b176a commit a5b557c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/config/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ impl WorkspaceProtoConfigs {
for file in CONFIG_FILE_NAMES {
let p = Path::new(&wpath).join(file);
match std::fs::exists(&p) {
Ok(exists) => {
if exists {
return Some(p);
}
}
Ok(exists) if exists => return Some(p),
_ => continue,
}
}
Expand Down

0 comments on commit a5b557c

Please sign in to comment.