Skip to content

Commit

Permalink
[repo] Fix FindComponentOwners for latest project in component_owners (
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Dec 13, 2024
1 parent da7bb32 commit bbc53c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/scripts/build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function FindComponentOwners {
{
$projectName = [System.IO.Path]::GetFileName($projectDir)

$match = [regex]::Match($componentOwnersContent, "src\/$projectName\/:([\w\W\s]*?)src")
$match = [regex]::Match($componentOwnersContent, "src\/$projectName\/:([\w\W\s]*?)(src|test)")
if ($match.Success -eq $true)
{
$matches = [regex]::Matches($match.Groups[1].Value, "-\s*(.*)")
Expand Down

0 comments on commit bbc53c5

Please sign in to comment.