Skip to content

Commit 9bded0c

Browse files
refactor: Update paths in Helper.psm1 to point to src directory for markdown files
1 parent 389b0b3 commit 9bded0c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/scripts/Helper.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function Update-MDSection {
7373
param(
7474
# Path to the markdown file where the section should be updated.
7575
[Parameter()]
76-
[string] $Path = 'docs\index.md',
76+
[string] $Path = 'src\docs\index.md',
7777

7878
# Name of the section to be updated, used in comment markers.
7979
[Parameter()]
@@ -166,7 +166,7 @@ function Update-ActionList {
166166
$actionTableRows</table>
167167
168168
"@
169-
Update-MDSection -Path '.\docs\GitHub-Actions\index.md' -Name 'ACTION_LIST' -Content $actionTable
169+
Update-MDSection -Path '.\src\docs\GitHub-Actions\index.md' -Name 'ACTION_LIST' -Content $actionTable
170170
}
171171

172172
function Update-ModuleList {
@@ -226,7 +226,7 @@ $moduleTableRows</table>
226226
227227
"@
228228

229-
Update-MDSection -Path '.\docs\PowerShell\Modules\index.md' -Name 'MODULE_LIST' -Content $moduleTable
229+
Update-MDSection -Path '.\src\docs\PowerShell\Modules\index.md' -Name 'MODULE_LIST' -Content $moduleTable
230230
}
231231

232232
function Update-FunctionAppList {
@@ -290,5 +290,5 @@ $functionAppTableRows</table>
290290
291291
"@
292292

293-
Update-MDSection -Path '.\docs\PowerShell\FunctionApps\index.md' -Name 'FUNCTIONAPP_LIST' -Content $functionAppTable
293+
Update-MDSection -Path '.\src\docs\PowerShell\FunctionApps\index.md' -Name 'FUNCTIONAPP_LIST' -Content $functionAppTable
294294
}

0 commit comments

Comments
 (0)