Skip to content

Commit f93eb7c

Browse files
Refactor main.ps1 to replace Resolve-Path with Join-Path for output folder paths, enhancing path handling consistency
1 parent 924f8bf commit f93eb7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/main.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Write-Host "Module name: [$moduleName]"
2525
$moduleSourceFolderPath = Resolve-Path -Path 'src' | Select-Object -ExpandProperty Path
2626
Write-Host "Module source path: [$moduleSourceFolderPath]"
2727

28-
$modulesOutputFolderPath = Resolve-Path -Path 'outputs/module' | Select-Object -ExpandProperty Path
28+
$modulesOutputFolderPath = Join-Path -Path . -ChildPath 'outputs/module'
2929
Write-Host "Module output path: [$modulesOutputFolderPath]"
30-
$docsOutputFolderPath = Resolve-Path -Path 'outputs/docs' | Select-Object -ExpandProperty Path
30+
$docsOutputFolderPath = Join-Path -Path . -ChildPath 'outputs/docs'
3131
Write-Host "Docs output path: [$docsOutputFolderPath]"
3232

3333
$params = @{

0 commit comments

Comments
 (0)