Skip to content

Commit 5edf05d

Browse files
author
Roberto Desideri
committed
Fixed buildenvironment first execution
1 parent 44fe930 commit 5edf05d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Note
1+
# Note
22
Any ps1 files in this directory are run at the end of your build. These should only include post build clean up tasks.

src/public/Initialize-ModuleBuild.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ Enjoy!
6868

6969
$PlasterResults = invoke-plaster @PlasterParams -NoLogo -PassThru
7070

71-
# Get the newly created buildenvironment file and run it the first time to create the fist export file.
71+
# Get the newly created buildenvironment file and run it the first time to create the first export file.
7272
$BuildDefinition = Get-ChildItem (Join-Path $PlasterResults.DestinationPath 'build') -Filter '*.buildenvironment.ps1'
73-
$strCommand = "powershell -noprofile -WindowStyle hidden -file $($BuildDefinition.FullName)"
73+
$strCommand = "powershell -noprofile -WindowStyle hidden -file '$($BuildDefinition.FullName)'"
7474

7575
try {
7676

0 commit comments

Comments
 (0)