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 adbeff0 commit 23183d2Copy full SHA for 23183d2
Tests/Rules/AvoidUnInitializedVarsInNewRunspaces.tests.ps1
@@ -1,12 +1,5 @@
1
-$directory = Split-Path -Parent $MyInvocation.MyCommand.Path
2
-$testRootDirectory = Split-Path -Parent $directory
3
-
4
-Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1")
5
6
-$ruleName = "PSAvoidUnInitializedVarsInNewRunspaces"
7
8
$settings = @{
9
- IncludeRules = @($ruleName)
+ IncludeRules = "PSAvoidUnInitializedVarsInNewRunspaces"
10
}
11
12
Describe "AvoidUnInitializedVarsInNewRunspaces" {
0 commit comments