Skip to content

Commit 5301a24

Browse files
committed
Fixed Get-BuildVersionXML to locate buildversion.xml correctly
1 parent b1a95dc commit 5301a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PsModules/CommonBuild/CommonBuild.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ function Get-BuildVersionXML
477477
[OutputType([xml])]
478478
param ()
479479

480-
[xml]$buildVersionXml = Get-Content .\BuildVersion.xml
480+
[xml]$buildVersionXml = Get-Content ([System.IO.Path]::Combine($PSScriptRoot, '..', '..', 'BuildVersion.xml'))
481481
return $buildVersionXml
482482
}
483483

0 commit comments

Comments
 (0)