We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ba9bd commit 50ea056Copy full SHA for 50ea056
Tests/Engine/LibraryUsage.tests.ps1
@@ -36,7 +36,10 @@ function Invoke-ScriptAnalyzer {
36
[switch] $Recurse,
37
38
[Parameter(Mandatory = $false)]
39
- [switch] $SuppressedOnly
+ [switch] $SuppressedOnly,
40
+
41
+ [Parameter(Mandatory = $false)]
42
+ [string] $Profile = $null
43
)
44
[string[]]$customRulePathArr = @($CustomRulePath);
45
if ($CustomRulePath -eq $null)
@@ -52,7 +55,8 @@ function Invoke-ScriptAnalyzer {
52
55
$IncludeRule,
53
56
$ExcludeRule,
54
57
$Severity,
- $SuppressedOnly.IsPresent
58
+ $SuppressedOnly.IsPresent,
59
+ $Profile
60
);
61
62
if ($PSCmdlet.ParameterSetName -eq "File") {
0 commit comments