Skip to content

Commit 62bb142

Browse files
Matt GraeberMatt Graeber
authored andcommitted
Excluding the Tests folder from being loaded as a module
1 parent c03965c commit 62bb142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerSploit.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName -DisableNameChecking }
1+
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking }

0 commit comments

Comments
 (0)