Skip to content

Commit 595eb65

Browse files
committed
Add suppression of UseCompatibleCommands rule for function that builds file catalog
1 parent f4bd375 commit 595eb65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ function Start-ScriptAnalyzerBuild
330330

331331
function New-Catalog
332332
{
333+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseCompatibleCommands', '')]
333334
param ( [Parameter()]$Location )
334335
if ( ! $IsWindows ) {
335336
Write-Warning "Create catalog only on windows"

0 commit comments

Comments
 (0)