Skip to content

Commit bbc53c5

Browse files
authored
[repo] Fix FindComponentOwners for latest project in component_owners (open-telemetry#2416)
1 parent da7bb32 commit bbc53c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/scripts/build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function FindComponentOwners {
125125
{
126126
$projectName = [System.IO.Path]::GetFileName($projectDir)
127127

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

0 commit comments

Comments
 (0)