You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Err(_) => vec![Error::CodeownershipFileIsStale],// Treat any read error as stale file
141
+
Err(_) => vec![Error::CodeownershipFileIsStale{
142
+
executable_name:self.executable_name.to_string(),
143
+
}],
139
144
}
140
145
}
141
146
@@ -161,13 +166,13 @@ impl Validator {
161
166
implError{
162
167
pubfncategory(&self) -> String{
163
168
matchself{
164
-
Error::FileWithoutOwner{path: _ } => "Some files are missing ownership".to_owned(),
165
-
Error::FileWithMultipleOwners{path: _,owners: _ } => "Code ownership should only be defined for each file in one way. The following files have declared ownership in multiple ways".to_owned(),
166
-
Error::CodeownershipFileIsStale => {
167
-
"CODEOWNERS out of date. Run `codeowners generate` to update the CODEOWNERS file".to_owned()
169
+
Error::FileWithoutOwner{path: _ } => "Some files are missing ownership".to_owned(),
170
+
Error::FileWithMultipleOwners{path: _,owners: _ } => "Code ownership should only be defined for each file in one way. The following files have declared ownership in multiple ways".to_owned(),
0 commit comments