Skip to content

Commit

Permalink
Create build output folder on user's behalf
Browse files Browse the repository at this point in the history
  • Loading branch information
gurugubs authored and petreeftime committed Apr 27, 2021
1 parent 47122bc commit c133662
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ if (Test-Path -Type Container $SrcPath){
if (Test-Path -Type Container $BuildOutputPath){
$ScratchFolder = $(Resolve-Path -Path $BuildOutputPath).Path;
} else {
Write-Output("Unable to access build output path")
Exit
Write-Output("Unable to access build output path - creating new folder")
New-Item -Type Container $BuildOutputPath
$ScratchFolder = $(Resolve-Path -Path $BuildOutputPath).Path;
}

$ModuleList = New-Object System.Collections.ArrayList
Expand Down

0 comments on commit c133662

Please sign in to comment.