Skip to content

Commit

Permalink
Surface Errors in VSCode Extension and pass env to pwsh process (#158)
Browse files Browse the repository at this point in the history
* Pester Test Adapter should error if Pester is not Installed
Fixes #54

* Surface additional PesterInterface Logging

* Explicitly specify homedir so that PowerShell can find its PSModulePath

* Better handing of env to inherit more gracefully
  • Loading branch information
JustinGrote authored Jul 9, 2023
1 parent 7b08df6 commit 9b10077
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 17,558 deletions.
5 changes: 2 additions & 3 deletions Scripts/PesterInterface.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ param(
[String]$IncludeAnsi
)

$VerbosePreference = 'SilentlyContinue'
$WarningPreference = 'SilentlyContinue'
$DebugPreference = 'SilentlyContinue'
Write-Debug -Debug "Home: $env:HOME"
Write-Debug -Debug "PSModulePath: $env:PSModulePath"

if ($psversiontable.psversion -ge '7.2.0') {
if ($IncludeAnsi) {
Expand Down
Loading

0 comments on commit 9b10077

Please sign in to comment.