Skip to content

Commit 3775af7

Browse files
committed
Fix custom object for typestoprocess
1 parent ca616bc commit 3775af7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"ProjectName": "ModuleTools",
33
"Description": "ModuleTools is a versatile, standalone PowerShell module builder. Create anything from simple to robust modules with ease. Built for CICD and Automation.",
4-
"Version": "1.4.0",
4+
"Version": "1.4.1",
55
"copyResourcesToModuleRoot": false,
66
"Manifest": {
77
"Author": "Manjunath Beli",

src/private/Build.Manifest.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Build-Manifest {
2323
}
2424

2525
## Import Types.ps1xml1 (if any)
26-
$FormatsToProcess = @()
26+
$TypesToProcess = @()
2727
Get-ChildItem -Path $data.ResourcesDir -File -Filter '*Types.ps1xml' -ErrorAction SilentlyContinue | ForEach-Object {
2828
if ($data.copyResourcesToModuleRoot) {
2929
$TypesToProcess += $_.Name
@@ -42,6 +42,7 @@ function Build-Manifest {
4242
RootModule = "$($data.ProjectName).psm1"
4343
ModuleVersion = [version]$sv
4444
FormatsToProcess = $FormatsToProcess
45+
TypesToProcess = $TypesToProcess
4546
}
4647

4748
## Release lable

0 commit comments

Comments
 (0)