File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4949 $ModulePrefix = Read-Host ' Enter the Prefix for all functions of this module'
5050 $LastChange = Read-Host ' Describe what did you change'
5151}
52- $ModuleName = $ModuleName.ToLower () -replace ' \-' , ' .' # Lower-case is better for linux
52+
53+ $ModuleName = $ModuleName -replace ' \-' , ' .' # Lower-case is better for linux
54+ $ModuleFolderRootPath = Join-Path - Path $Root - ChildPath $ModuleName
55+ $ModuleFolderPath = Join-Path - Path $ModuleFolderRootPath - ChildPath $ModuleVersion
56+
5357[PSCustomObject ] @ {
5458 ModuleName = $ModuleName
5559 ModuleVersion = $ModuleVersion
@@ -90,7 +94,7 @@ Write-Host "[BUILD] [TEST] Running Function-Tests" -ForegroundColor Green
9094$TestsResult = Invoke-Pester - Script $TestsScript - Output Normal - PassThru
9195if ($TestsResult.FailedCount -eq 0 ){
9296
93- $ModuleFolderPath = Join-Path - Path $Root - ChildPath $ModuleName
97+ # $ModuleFolderPath = Join-Path -Path $Root -ChildPath $ModuleName
9498
9599 if (-not (Test-Path - Path $ModuleFolderPath )){
96100 $null = New-Item - Path $ModuleFolderPath - ItemType Directory - Force
You can’t perform that action at this time.
0 commit comments