Skip to content

Commit

Permalink
fix: format checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinodsathyaseelan committed Jan 11, 2024
1 parent 9c3416c commit cfb478c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/main/src/state/cap/generic_cap_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ impl GenericCapState {
let not_available = self.not_available.read().unwrap();
let mut result: Vec<FireboltCap> = Vec::new();
for fb_perm in request {
if fb_perm.role == CapabilityRole::Use && not_available.contains(&fb_perm.cap.as_str()) {
if fb_perm.role == CapabilityRole::Use && not_available.contains(&fb_perm.cap.as_str())
{
result.push(fb_perm.cap.clone())
}
}
Expand Down

0 comments on commit cfb478c

Please sign in to comment.