Skip to content

Conversation

EmmanuelPineiro
Copy link
Contributor

PR Summary

Calling Invoke-Pester with the -show param would
throw and exception if running a version of pester
older than 3.4.5

Moved logic for building spalt to call
invoke-pester into a function and only added the
show parameter if running pester 3.4.5 or newer

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • NA PR has tests
    • InvokePesterStub did not appear to have tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

Calling Invoke-Pester with the -show param was
breaking tests if running a version of pester
older than 3.4.5

Moved logic for building spalt to call
invoke-pester into a function and only added the
show parameter if running pester 3.4.5 or newer
@ghost
Copy link

ghost commented Aug 13, 2020

CLA assistant check
All CLA requirements met.

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a couple whitespace nits :)

@TylerLeonhardt
Copy link
Member

cc @nohwnd in case you wanna review.

EmmanuelPineiro and others added 2 commits August 13, 2020 09:06
Co-authored-by: Tyler James Leonhardt <tylerl0706@gmail.com>
Co-authored-by: Tyler James Leonhardt <tylerl0706@gmail.com>
@TylerLeonhardt TylerLeonhardt merged commit 9299f0b into PowerShell:master Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants