We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f49371 commit f07d63cCopy full SHA for f07d63c
2 files changed
PSModuleDevelopment/internal/classes/TemplateResult.ps1
@@ -0,0 +1,7 @@
1
+class TemplateResult {
2
+ [string]$Filename
3
+ [string]$Path
4
+ [string]$FullPath
5
+ $Content
6
+ [bool]$IsText=$true
7
+}
PSModuleDevelopment/internal/scripts/preimport.ps1
@@ -17,4 +17,10 @@ foreach ($file in (Get-ChildItem "$($script:ModuleRoot)\internal\configurations\
17
}
18
19
# Load additional resources needed during import
20
-. Import-ModuleFile -Path "$($script:ModuleRoot)\internal\scripts\initialize.ps1"
+. 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
0 commit comments