Skip to content

Commit

Permalink
build: fix relative path to dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
forevanyeung committed Nov 18, 2024
1 parent 1c8dcdf commit 7c30a3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OktaPS.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ task DownloadDependencies {

# find psm1
If($environment -ne "Install") {
$nestedModules = Get-ChildItem -Path $pwshModuleFolder -Filter *.psm1 -Recurse -ErrorAction SilentlyContinue | Select-Object -ExpandProperty FullName
$nestedModules = Get-ChildItem -Path $pwshModuleFolder -Filter *.psm1 -Recurse -ErrorAction SilentlyContinue | ForEach-Object {
$_.FullName.Substring($outputFolder.Length + 1)
}
If($nestedModules.Count -gt 0) {
Write-Host -NoNewLine " Adding nested modules to manifest"
Update-ModuleManifest -Path $outputManifestPath -NestedModules $nestedModules
Expand Down

0 comments on commit 7c30a3c

Please sign in to comment.