Skip to content

Commit 2f7d742

Browse files
ckairenzman-ms
authored andcommitted
[TypeSpec Validation] trigger on only specification/<service-family> (#26276)
* test * fix * cleanup
1 parent 7541f9b commit 2f7d742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/Get-TypeSpec-Folders.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ else {
2828
$typespecFolders = @()
2929
$skippedTypespecFolders = @()
3030
foreach ($file in $changedFiles) {
31-
if ($file -match 'specification(\/[^\/]*\/)*') {
31+
if ($file -match 'specification(\/[^\/]*\/)+') {
3232
$path = "$repoPath/$($matches[0])"
3333
if (Test-Path $path) {
3434
Write-Verbose "Checking for tspconfig files under $path"

0 commit comments

Comments
 (0)