File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
PSModuleDevelopment/internal Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ class TemplateResult {
2
+ [string ]$Filename
3
+ [string ]$Path
4
+ [string ]$FullPath
5
+ $Content
6
+ [bool ]$IsText = $true
7
+ }
Original file line number Diff line number Diff line change @@ -17,4 +17,10 @@ foreach ($file in (Get-ChildItem "$($script:ModuleRoot)\internal\configurations\
17
17
}
18
18
19
19
# Load additional resources needed during import
20
- . Import-ModuleFile - Path " $ ( $script :ModuleRoot ) \internal\scripts\initialize.ps1"
20
+ . Import-ModuleFile - Path " $ ( $script :ModuleRoot ) \internal\scripts\initialize.ps1"
21
+
22
+ # Load all classes
23
+ foreach ($file in (Get-ChildItem " $ ( $script :ModuleRoot ) \internal\classes\*.ps1" - ErrorAction Ignore))
24
+ {
25
+ . Import-ModuleFile - Path $file.FullName
26
+ }
You can’t perform that action at this time.
0 commit comments