Skip to content

Commit 907c6ee

Browse files
Remove conditional check and always call Invoke-Build
Co-authored-by: andyleejordan <[email protected]>
1 parent 9962d48 commit 907c6ee

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

vscode-powershell.build.ps1

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@ task RestoreEditorServices -If (Get-EditorServicesPath) {
4141
New-Item -ItemType SymbolicLink -Path ./modules -Target "$(Split-Path (Get-EditorServicesPath))/module"
4242
}
4343

44-
# For Debug configuration, always rebuild to ensure latest local bits.
45-
# For Release configuration, only build if it hasn't been built at all.
46-
if ($Configuration -eq "Debug" -or !(Test-Path "$(Split-Path (Get-EditorServicesPath))/module/PowerShellEditorServices/bin")) {
47-
Write-Build DarkGreen "Building PSES"
48-
Invoke-Build Build (Get-EditorServicesPath) -Configuration $Configuration
49-
}
44+
Write-Build DarkGreen "Building PSES"
45+
Invoke-Build Build (Get-EditorServicesPath) -Configuration $Configuration
5046
}
5147

5248
#endregion

0 commit comments

Comments
 (0)