Skip to content

Commit b6415c3

Browse files
committed
suppress warnings for using PSRepository cmdlets
1 parent 2f1cf42 commit b6415c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.psm1

+1
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,7 @@ function Copy-CrossCompatibilityModule
766766
# creates the nuget package which can be used for publishing to the gallery
767767
function Start-CreatePackage
768768
{
769+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseCompatibleCommands', '')]
769770
param ( [switch]$signed )
770771
try {
771772
if ( $signed ) {

0 commit comments

Comments
 (0)