File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tools/GitHub Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,13 +169,13 @@ function Invoke-ExecCommunityRepo {
169169
170170 $MigrationTable = $Files | Where-Object { $_.name -eq ' MigrationTable' } | Select-Object - Last 1
171171 if ($MigrationTable ) {
172- Write-Host ' Found a migration table, getting contents'
172+ Write-Host " Found a migration table, getting contents for $FullName "
173173 $MigrationTable = (Get-GitHubFileContents - FullName $FullName - Branch $Branch - Path $MigrationTable.path ).content | ConvertFrom-Json
174174 }
175175
176176 $NamedLocations = $Files | Where-Object { $_.name -match ' ALLOWED COUNTRIES' }
177177 $LocationData = foreach ($Location in $NamedLocations ) {
178- (Get-GitHubFileContents - FullName $TemplateSettings .templateRepo.value - Branch $TemplateSettings .templateRepoBranch.value - Path $Location.path ).content | ConvertFrom-Json
178+ (Get-GitHubFileContents - FullName $FullName - Branch $Branch - Path $Location.path ).content | ConvertFrom-Json
179179 }
180180 }
181181 Import-CommunityTemplate - Template $Content - SHA $Template.sha - MigrationTable $MigrationTable - LocationData $LocationData
You can’t perform that action at this time.
0 commit comments