Skip to content

Commit 4290fe2

Browse files
committed
Fix unit tests for PowerShell 7.4
Which now comes with PSResourceGet
1 parent 64a7ed0 commit 4290fe2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/Rules/UseCompatibleCommands.Tests.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,9 @@ Describe 'UseCompatibleCommands' {
401401
)
402402
IgnoreCommands = @(
403403
'Install-Module'
404+
'Publish-Module'
405+
'Register-PSRepository'
406+
'Unregister-PSRepository'
404407
# Some PowerShell profiles have Pester installed by default
405408
# So Pester is legitimately flagged
406409
'Describe'

0 commit comments

Comments
 (0)