Closed
Description
Expected value
...
A Script Analyzer profile file is a text file that contains a hash table with one or more of the following keys:
-- Severity
-- IncludeRules
-- ExcludeRules
-- Rules
-- CustomRulePath
-- RecurseCustomRulePath
-- IncludeDefaultRules
...
* Ellipses indicate elision.
Actual behavior
Missing key "RecurseCustomRulePath".
...
A Script Analyzer profile file is a text file that contains a hash table with one or more of the following keys:
-- Severity
-- IncludeRules
-- ExcludeRules
-- Rules
-- CustomRulePath
-- IncludeDefaultRules
...
* Ellipses indicate elision.
Environment data
PS> $PSVersionTable
Name Value
---- -----
PSVersion 6.2.1
PSEdition Core
GitCommitId 6.2.1
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.2.1}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PS> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }
1.18.0