Skip to content

Commit

Permalink
Add list of all standard readonly and constant variables (pester#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd authored May 1, 2019
1 parent ea65cc6 commit 4456afe
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Functions/Mock.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,25 @@ function Reset-ConflictingParameters {
}

$script:ConflictingParameterNames = @(
"PSEdition"
'?'
'ConsoleFileName'
'EnabledExperimentalFeatures'
'Error'
'ExecutionContext'
'false'
'HOME'
'Host'
'IsCoreCLR'
'IsMacOS'
'IsWindows'
'PID'
'PSCulture'
'PSEdition'
'PSHOME'
'PSUICulture'
'PSVersionTable'
'ShellId'
'true'
)

function Get-ConflictingParameterNames {
Expand Down

0 comments on commit 4456afe

Please sign in to comment.