Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Commit 6ef076f

Browse files
test
1 parent d0c2686 commit 6ef076f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/helpers/Build/Add-ContentFromItem.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
# Get the path separator for the current OS
2626
$pathSeparator = [System.IO.Path]::DirectorySeparatorChar
2727

28-
$relativeFolderPath = $Path.Replace($RootPath, '')
28+
$relativeFolderPath = $Path -Replace $RootPath, ''
2929
$relativeFolderPath = $relativeFolderPath.TrimStart($pathSeparator)
30-
$relativeFolderPath = $relativeFolderPath.Replace($pathSeparator, ' - ')
30+
$relativeFolderPath = $relativeFolderPath -Replace $pathSeparator, ' - '
3131

3232
Add-Content -Path $RootModuleFilePath -Force -Value @"
3333
#region - From $relativeFolderPath

0 commit comments

Comments
 (0)