Skip to content

Commit

Permalink
reverting my changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiisinienok committed Nov 25, 2023
1 parent f4386f9 commit c7cb38e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/Deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ if(!($KeyVault -match "^[a-zA-Z][a-z0-9-]+$")) {

# check if dotnet 6 is installed

$dotnetversion = dotnet --list-sdks
$dotnetversion = dotnet --version

if(!$dotnetversion -like "*6.*") {
if(!$dotnetversion.StartsWith('6.')) {
Throw "🛑 Dotnet 6 not installed. Install dotnet6 and re-run the script."
Exit
}
Expand Down

0 comments on commit c7cb38e

Please sign in to comment.