Closed Tonic8 closed 4 years ago
Who doesn't like standards? So I think if I add a $sourcDir parameter this should resolve your issue. I can default it to what is there, but allow you do override it.
Sound good?
hello :) yes who care on standard?, that's sound good for me.
Just released version "7.0.14" to the PowerShell Gallery. Give that a shot and let me know if it works for you.
Hello
trying to test the module i usually create a folder with my test script and a subfolder with the module to test.
first line of the script is
import-module c:\test1\modules\RestPS
when trying to execute the command
The issue is on the line of the function Invoke-DeployRestPS
$Source = (Split-Path -Path (Get-Module -ListAvailable RestPS | Sort-Object -Property Version -Descending | Select-Object -First 1).path)
this work only for standard modules deployment, in certain case it could usefull to have a "portable" structure for the project (one folder with all logs, all modules needed, all script, etc) we can drop.regards Tonic8