Changing path that was causing an error

This commit is contained in:
Elitsa Marinovska
2020-05-12 12:20:32 +02:00
parent 85ff4be55d
commit 3e73888510

View File

@@ -460,8 +460,11 @@
$src = "$($this.SolutionRoot)\src"
$out = $this.BuildOutput
# Check if the solution has been built
if (!(Test-Path "$src\Umbraco.Web.UI.Client\node_modules")) {throw "Umbraco needs to be built before generating the Angular Docs"}
"Moving to Umbraco.Web.UI.Docs folder"
cd ..\src\Umbraco.Web.UI.Docs
cd $src\Umbraco.Web.UI.Docs
"Generating the docs and waiting before executing the next commands"
& npm install