Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Commit d56f2dd

Browse files
committed
compliance: clarify CODEOWNER message
When find an entry in CODEOWNERS that is not the tree, make it clear in the error message. Signed-off-by: Anas Nashif <[email protected]>
1 parent e4e846c commit d56f2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def ls_owned_files(self, codeowners):
500500
files.append(str(abs_path.relative_to(top_path)))
501501

502502
if not files:
503-
self.add_failure("Path '{}' not found, in "
503+
self.add_failure("Path '{}' not found in the tree but is listed in "
504504
"CODEOWNERS".format(git_patrn))
505505

506506
pattern2files[git_patrn] = files

0 commit comments

Comments
 (0)