-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Minor issues with Restore-PSPester #6143
Copy link
Copy link
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
build.psm1was recently updated to use 'Save-Module' inRestore-PSPester#6112Side effects of this update broke Docker package validation tests.
Specifically:
Now

Restore-PSPesterrequires-Destinationdirectory to exist and throws error if it doesn't; PreviouslyRestore-PSPesterwas creating it.Default

-Destinationdirectory is NOT based onPSModulePath, but rather on a(Get-PSOptions -DefaultToNew).Output, which is not helpful at all since it requires to provide full path to the module in case pwsh is run from an installed package as opposed to built from clone repo.