Skip to content

Commit

Permalink
Fix PSScriptAnalyzer messages
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-boyarshin committed Jan 13, 2021
1 parent 51f4f5c commit 16469ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/build-outerloop.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if ($env:Path -notmatch [Regex]::Escape($netFxRoot)){
foreach ($test in $Projects) {
Remove-Item -Recurse -Force "$RepoRoot/SdkTests/$test/bin" -ErrorAction Ignore
Remove-Item -Recurse -Force "$RepoRoot/SdkTests/$test/obj" -ErrorAction Ignore
}
}

$SdkTestsSolution = "$RepoRoot/SdkTests/SdkTests.sln"

Expand Down
3 changes: 2 additions & 1 deletion test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if (!$SkipOuterloopTests -and !($env:ReleaseTag -and ($Configuration -eq "Releas
# Peter Franta, CC BY-SA 3.0, https://stackoverflow.com/a/10242325
function CartesianProduct-Lists
{
[Diagnostics.CodeAnalysis.SuppressMessage("PSUseApprovedVerbs", "", Scope="function")]
param($Lists)

function Make-List
Expand All @@ -52,7 +53,7 @@ if (!$SkipOuterloopTests -and !($env:ReleaseTag -and ($Configuration -eq "Releas
,$Result
}

# if Head..Tail
# if Head..Tail
if (@($Lists).Count -gt 1)
{
$Head = $Lists[0]
Expand Down

0 comments on commit 16469ae

Please sign in to comment.