Stucco icon indicating copy to clipboard operation
Stucco copied to clipboard

fix to help tests for powershell 74

Open gazm81 opened this issue 1 year ago • 1 comments

Description

as mentioned in the issue, powershell 7.4 broke help.tsts.ps1

Related Issue

related issue https://github.com/devblackops/Stucco/issues/41

Motivation and Context

as mentioned in the issue, powershell 7.4 broke help.tsts.ps1 this is to rectify that issue for the stucco repo AND the template

How Has This Been Tested?

tests on development machine using variety of powershell versions test using devcontainer pinned with different versions including powershell 7.2 7.3 7.4 and os options of ubuntu 20.04 and 22.04 additionally on windows 11 environment

Screenshots (if appropriate):

NA - issue contains

Types of changes

  • [ X] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ X] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ X] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [ X] All new and existing tests passed.

gazm81 avatar Feb 01 '24 00:02 gazm81

I tried applying this patch on local copy of the project. It fixed the failed Pester tests. Project build modified the Get-StuccoTemplate.md and New-StuccoModule.md to show " [-ProgressAction <ActionPreference>]" as a parameter. I don't know if this is an intended result.

dlathrop avatar Aug 23 '24 16:08 dlathrop