chore: fix build (#13997)

This commit is contained in:
Ryan Dahl 2022-03-16 21:37:02 -04:00 committed by GitHub
parent 92bb251058
commit 18f998fbee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View file

@ -550,7 +550,7 @@ pub(crate) fn get_configured_rules(
);
if configured_rules.is_empty() {
anyhow!("No rules have been configured");
return Err(anyhow!("No rules have been configured"));
}
Ok(configured_rules)