Skip to content

Commit

Permalink
Suppress PSSA global
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss committed Nov 22, 2024
1 parent 9eba719 commit 78a3a73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Testing/workflow/Invoke-PSSA.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# The purpose of this test is to verify that PSSA is working.

# Suppress PSSA warnings here at the root of the test file.
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidGlobalVars', '')]
param()

BeforeDiscovery {
# Source the function
. $PSScriptRoot/../../utils/workflow/Invoke-PSSA.ps1
Expand Down

0 comments on commit 78a3a73

Please sign in to comment.