You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/Engine/LibraryUsage.tests.ps1
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -36,30 +36,22 @@ function Invoke-ScriptAnalyzer {
36
36
[switch] $Recurse,
37
37
38
38
[Parameter(Mandatory=$false)]
39
-
<<<<<<< Updated upstream
40
39
[switch] $IncludeDefaultRules,
41
40
42
41
[Parameter(Mandatory=$false)]
43
-
[switch] $SuppressedOnly,
44
-
45
-
[Parameter(Mandatory=$false)]
46
-
[string] $Profile=$null
42
+
[switch] $SuppressedOnly
47
43
)
48
44
49
45
if ($null-eq$CustomRulePath)
50
46
{
51
47
$IncludeDefaultRules=$true
52
48
}
53
-
=======
54
-
[switch] $SuppressedOnly
55
-
)
56
49
# There is an inconsistency between this implementation and c# implementation of the cmdlet.
57
50
# The CustomRulePath parameter here is of "string[]" type whereas in the c# implementation it is of "string" type.
58
51
# If we set the CustomRulePath parameter here to "string[]", then the library usage test fails when run as an administrator.
59
52
# We want to note that the library usage test doesn't fail when run as a non-admin user.
60
53
# The following is the error statement when the test runs as an administrator.
61
54
# Assert failed on "Initialize" with "7" argument(s): "Test failed due to terminating error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)"
0 commit comments