Skip to content

Commit

Permalink
Fix unit tests for PowerShell 7.4
Browse files Browse the repository at this point in the history
Which now comes with PSResourceGet
  • Loading branch information
andyleejordan committed Sep 11, 2024
1 parent 64a7ed0 commit 4290fe2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/Rules/UseCompatibleCommands.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ Describe 'UseCompatibleCommands' {
)
IgnoreCommands = @(
'Install-Module'
'Publish-Module'
'Register-PSRepository'
'Unregister-PSRepository'
# Some PowerShell profiles have Pester installed by default
# So Pester is legitimately flagged
'Describe'
Expand Down

0 comments on commit 4290fe2

Please sign in to comment.