Excluding the Tests folder from being loaded as a module

This commit is contained in:
Matt Graeber
2015-11-09 10:57:19 -08:00
parent c03965c8f9
commit 62bb142a68
+1 -1
View File
@@ -1 +1 @@
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName -DisableNameChecking }
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking }