Skip to content

Commit 900de11

Browse files
author
kborle
committed
Modifies library usage test cmdlet.
1 parent 36bd577 commit 900de11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Engine/LibraryUsage.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function Invoke-ScriptAnalyzer {
3838
[Parameter(Mandatory = $false)]
3939
[switch] $SuppressedOnly
4040
)
41-
$customRulePathArr = @($CustomRulePath);
41+
[string[]]$customRulePathArr = @($CustomRulePath);
4242
$scriptAnalyzer = New-Object "Microsoft.Windows.PowerShell.ScriptAnalyzer.ScriptAnalyzer"
4343
$scriptAnalyzer.Initialize(
4444
$runspace,

0 commit comments

Comments
 (0)