We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f819841 commit 526dc99Copy full SHA for 526dc99
extension/BuildPhpExtension/private/Get-ExtensionConfig.ps1
@@ -199,7 +199,7 @@ Function Get-ExtensionConfig {
199
}
200
201
# TODO: This should be implemented using composer.json once implemented
202
- $packageXml = Get-ChildItem (Get-Location).Path -Recurse -Filter "package.xml" -ErrorAction SilentlyContinue
+ $packageXml = Get-ChildItem (Get-Location).Path -Recurse -Filter "package.xml" -ErrorAction SilentlyContinue | Select-Object -First 1
203
if($null -ne $packageXml) {
204
$xml = [xml](Get-Content $packageXml.FullName)
205
$config.docs = $xml.SelectNodes("//*[@role='doc']") | ForEach-Object {
0 commit comments