Skip to content

Commit

Permalink
Fixed Get-BuildVersionXML to locate buildversion.xml correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
smaillet committed Apr 20, 2020
1 parent b1a95dc commit 5301a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PsModules/CommonBuild/CommonBuild.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ function Get-BuildVersionXML
[OutputType([xml])]
param ()

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

Expand Down

0 comments on commit 5301a24

Please sign in to comment.