Skip to content

Commit 61f4b1f

Browse files
committed
create directory to avoid error when no files
1 parent 8fe6971 commit 61f4b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

m365/image/run_container.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ $Env:AZCOPY_ACTIVE_DIRECTORY_ENDPOINT = if ($Env:IS_GOV -eq "true") {"https://lo
5858
Invoke-SCuBA -Version
5959

6060
Write-Output "Grabbing tenant config files"
61+
New-Item -Path "input" -ItemType Directory
6162
.\azcopy copy "$Env:TENANT_INPUT/*" 'input' --include-pattern "*.yaml;*.yml;*.json" --output-level essential
6263
if ($LASTEXITCODE -gt 0) {
6364
throw "Error reading config files"

0 commit comments

Comments
 (0)