diff --git a/packages/controllers/src/hooks.rs b/packages/controllers/src/hooks.rs index f01f33427..e56985c25 100644 --- a/packages/controllers/src/hooks.rs +++ b/packages/controllers/src/hooks.rs @@ -122,7 +122,7 @@ impl<'a> Hooks<'a> { Ok(HooksResponse { hooks }) } - // Returns true if hook is in hooks + // Return true if hook is in hooks pub fn query_hook(&self, deps: Deps, hook: String) -> StdResult { Ok(self.query_hooks(deps)?.hooks.into_iter().any(|h| h == hook)) }