From e387961c311719d76d7a6a9690579b942f3d35e4 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 11 May 2016 14:11:53 -0700 Subject: [PATCH] Add -noprofile to Start-PSPester --- PowerShellGitHubDev.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerShellGitHubDev.psm1 b/PowerShellGitHubDev.psm1 index 5d4cab947..71ebbe33a 100644 --- a/PowerShellGitHubDev.psm1 +++ b/PowerShellGitHubDev.psm1 @@ -315,7 +315,7 @@ function Start-PSPester { [string]$Directory = "$PSScriptRoot/test/powershell" ) - & (Get-PSOutput) -c "Invoke-Pester $Flags $Directory/$Tests" + & (Get-PSOutput) -noprofile -c "Invoke-Pester $Flags $Directory/$Tests" if ($LASTEXITCODE -ne 0) { throw "$LASTEXITCODE Pester tests failed" }