Skip to content

Commit c8662b3

Browse files
committed
Add missing adapted resource manifest search
1 parent 9d9863c commit c8662b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/powershell/powershell.discover.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function Invoke-DscResourceDiscovery {
7474
$manifests = $cache.Manifests
7575
} else {
7676
$manifests = $psPaths | ForEach-Object -Parallel {
77-
$searchPatterns = @('*.dsc.resource.json', '*.dsc.resource.yaml', '*.dsc.resource.yml')
77+
$searchPatterns = @('*.dsc.resource.json', '*.dsc.resource.yaml', '*.dsc.resource.yml', '*.dsc.adaptedresource.json', '*.dsc.adaptedresource.yaml', '*.dsc.adaptedresource.yml')
7878
$enumOptions = [System.IO.EnumerationOptions]@{ IgnoreInaccessible = $true; RecurseSubdirectories = $true }
7979
foreach ($pattern in $searchPatterns) {
8080
try {

0 commit comments

Comments
 (0)