Something with module manifest

This commit is contained in:
Petri Asikainen 2021-09-04 23:15:21 +03:00
parent c3b83320f2
commit 181278e170

View file

@ -50,13 +50,13 @@ Describe "SnipeitPS" {
break break
} }
} }
<#
It "Includes a valid manifest file" { It "Includes a valid manifest file" {
{ {
$script:manifest = Test-ModuleManifest -Path "$moduleRoot\SnipeitPS.psd1" -ErrorAction Stop -WarningAction SilentlyContinue $script:manifest = Test-ModuleManifest -Path "$moduleRoot\SnipeitPS.psd1" -ErrorAction Stop -WarningAction SilentlyContinue
} | Should -Not Throw } | Should -Not Throw
} }
<#
# There is a bug that prevents Test-ModuleManifest from updating correctly when the manifest file changes. See here: # There is a bug that prevents Test-ModuleManifest from updating correctly when the manifest file changes. See here:
# https://connect.microsoft.com/PowerShell/feedback/details/1541659/test-modulemanifest-the-psmoduleinfo-is-not-updated # https://connect.microsoft.com/PowerShell/feedback/details/1541659/test-modulemanifest-the-psmoduleinfo-is-not-updated