Closed phbits closed 3 years ago
Merging #87 (57fb81c) into main (c75f492) will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## main #87 +/- ##
==================================
Coverage 97% 97%
==================================
Files 38 38
Lines 877 877
==================================
Hits 859 859
Misses 18 18
@johlju Thanks for setting up the debug branch! I'll take a closer look in the next day or two. As you'll notice, the issue was $TimeOut
needed to be specified in milliseconds. π€¦ββοΈ Also removed all --quiet
switches from the git commands allowing the Invoke-Git
returned object to be populated. Finally, in the last commit, the more specific Assert
wasn't being triggered which didn't make much sense. I made the "fix" so this PR could be posted and fix publishing. I can take a closer look later if you'd like to go back to the prior technique of having two separate Assert
statements. Again, wanted to get this posted. Hope that makes sense.
Thanks for taking the time to send in fixes! π I will review this as soon as I have time (hopefully tomorrow).
Sounds good.
Did some testing locally and found $Arguments[2] -eq "*"
would work as expected; calling each Assert
once. Updated it to $Arguments[2] -eq $($mockPublishWikiContentParameters.ModuleVersion)"
, just like 17b3cf6, and it completed successfully too. Pushed commit with enthusiasm... and Azure Pipelines doesn't like it. π€
Pull Request
Pull Request (PR) description
Invoke-Git
-TimeOut
to milliseconds.--quiet
switch fromgit
commandsThis Pull Request (PR) fixes the following issues
Task list
This change isβ