From 3b672d128dfcae643d05d47c3bec9056d7ac29a6 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Mon, 27 Nov 2023 11:44:55 +0100 Subject: [PATCH] Fixed bug in manifest generation --- CHANGELOG.md | 4 ++++ source/Private/Initialize-Module.ps1 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a77b18..af076f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fixed type in module manifest generation that resulted in an invalid manifest + ## [0.1.8] - 2023-11-27 ### Fixed diff --git a/source/Private/Initialize-Module.ps1 b/source/Private/Initialize-Module.ps1 index 3184646..e00567a 100644 --- a/source/Private/Initialize-Module.ps1 +++ b/source/Private/Initialize-Module.ps1 @@ -74,7 +74,7 @@ function Initialize-Module [void]$moduleManifestString.AppendLine(' # Modules that must be imported into the global environment prior to importing this module') [void]$moduleManifestString.AppendLine(' RequiredModules = @(') [void]$moduleManifestString.AppendLine(" @{ModuleName='DscBuildHelpers'; ModuleVersion ='0.2.1'; GUID='23ccd4bf-0a52-4077-986f-c153893e5a6a'}") - [void]$moduleManifestString.AppendLine(" @{ModuleName='Microsoft365DSC'; RequiredVersion='$m365dscVersion'; GUID='39f599a6-d212-4480-83b3-a8ea2124d8cf'})") + [void]$moduleManifestString.AppendLine(" @{ModuleName='Microsoft365DSC'; RequiredVersion='$m365dscVersion'; GUID='39f599a6-d212-4480-83b3-a8ea2124d8cf'}") [void]$moduleManifestString.AppendLine(' )') [void]$moduleManifestString.AppendLine('') [void]$moduleManifestString.AppendLine(' # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.')