Skip to content

Commit 9b1d39c

Browse files
🪲 [Fix]: FileList in manifest (#59)
## Description - Fixed an issue where the file list would not get populated in the module manifest. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 25bc8e3 commit 9b1d39c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers/Build/Build-PSModuleManifest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function Build-PSModuleManifest {
104104

105105
# Get the relative file path and store it in the manifest
106106
$files = $files | Select-Object -ExpandProperty FullName | ForEach-Object { $_.Replace($ModuleOutputFolder, '').TrimStart($pathSeparator) }
107-
$manifest.FileList = $fileList.count -eq 0 ? @() : @($fileList)
107+
$manifest.FileList = $files.count -eq 0 ? @() : @($files)
108108
$manifest.FileList | ForEach-Object { Write-Verbose "[FileList] - [$_]" }
109109

110110
Write-Verbose '[RequiredAssemblies]'

0 commit comments

Comments
 (0)