Skip to content

Commit cf1b0e5

Browse files
committed
Update to Audit from main
1 parent 2ae5791 commit cf1b0e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/audit/secrets_outside_environment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use github_actions_models::{
44
};
55

66
use super::{Audit, audit_meta};
7-
use crate::finding::Confidence;
7+
use crate::{finding::Confidence, AuditState, AuditLoadError};
88

99
pub(crate) struct SecretsOutsideEnvironment;
1010

@@ -15,7 +15,7 @@ audit_meta!(
1515
);
1616

1717
impl Audit for SecretsOutsideEnvironment {
18-
fn new(_state: super::AuditState) -> anyhow::Result<Self>
18+
fn new(_state: &AuditState<'_>) -> Result<Self, AuditLoadError>
1919
where
2020
Self: Sized,
2121
{

0 commit comments

Comments
 (0)