Replace string concatenation with Path.Combine
This commit is contained in:
parent
68c3ebaf46
commit
1efa555825
@ -11,8 +11,7 @@ if ([string]::IsNullOrEmpty($rootPath)) {
|
|||||||
}
|
}
|
||||||
Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
|
Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
|
||||||
|
|
||||||
|
$SolutionFilePath = [IO.Path]::Combine($rootPath, "eShopOnContainers-ServicesAndWebApps.sln")
|
||||||
$SolutionFilePath = $rootPath + "eShopOnContainers-ServicesAndWebApps.sln"
|
|
||||||
|
|
||||||
dotnet restore $SolutionFilePath
|
dotnet restore $SolutionFilePath
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user