Skip to content

Commit ee83c51

Browse files
authored
fix: issue 383 (#384)
## Issue Issue #383 ## Description Description of changes: - fix: use additionalFile instead of inputConfigFilePath
1 parent 8fc21b0 commit ee83c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ALZ/Private/Deploy-Accelerator-Helpers/New-Bootstrap.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function New-Bootstrap {
240240
Write-Verbose "Copying folder $additionalFile to $destination"
241241
Copy-Item -Path "$additionalFile/*" -Destination $destination -Recurse -Force
242242
} else {
243-
$fileName = [System.IO.Path]::GetFileName($inputConfigFilePath)
243+
$fileName = [System.IO.Path]::GetFileName($additionalFile)
244244
$destination = Join-Path -Path $starterRootModuleFolderPath -ChildPath $fileName
245245
Write-Verbose "Copying file $additionalFile to $destination"
246246
Copy-Item -Path $additionalFile -Destination $destination -Force

0 commit comments

Comments
 (0)