Skip to content

Commit

Permalink
Test failure (microsoft#613)
Browse files Browse the repository at this point in the history
E2E test failure fix

---------

Co-authored-by: freddydk <[email protected]>
  • Loading branch information
freddydk and freddydk committed Jul 20, 2023
1 parent 46e4825 commit 90505f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Actions/AL-Go-TestRepoHelper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function Test-Shell {

if ($json.Keys -contains $property) {
$shell = $json.$property
if ($shell -ne 'powershell' -or $shell -ne 'pwsh') {
throw "$property must be 'powershell' or 'pwsh' in $settingsDescription"
if ($shell -ne 'powershell' -and $shell -ne 'pwsh') {
throw "$property is '$shell', must be 'powershell' or 'pwsh' in $settingsDescription"
}
}
}
Expand Down

0 comments on commit 90505f3

Please sign in to comment.