Skip to content

Commit

Permalink
changing throw to Write log info
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Tiwari committed Aug 20, 2024
1 parent 7804052 commit e814714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TestControllers/TestController.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,12 @@ Class TestController {
foreach ($CustomParameter in $CustomTestParameters) {
$ReplaceThis = $CustomParameter.Split("=")[0]
$ReplaceWith = $CustomParameter.Substring($CustomParameter.IndexOf("=") + 1)
if($ReplaceThis=="ovlname")
if($ReplaceThis -eq "ovlname")
{
$this.ovlname=$ReplaceWith
}
else {
<# Action when all if and elseif conditions are false #>


$OldValue = ($ReplaceableTestParameters.ReplaceableTestParameters.Parameter | Where-Object `
{ $_.ReplaceThis -eq $ReplaceThis }).ReplaceWith
Expand Down

0 comments on commit e814714

Please sign in to comment.