Skip to content

Commit

Permalink
.exe
Browse files Browse the repository at this point in the history
Signed-off-by: Avishay <[email protected]>
  • Loading branch information
balteravishay committed Apr 14, 2023
1 parent f6fb843 commit 96dd113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checks/raw/shell_download_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ func isUnpinnedNugetCliInstall(cmd []string) bool {
}

// Search for nuget commands.
if !isBinaryName("nuget", cmd[0]) {
if !isBinaryName("nuget", cmd[0]) && !isBinaryName("nuget.exe", cmd[0]) {
return false
}

Expand Down Expand Up @@ -746,7 +746,7 @@ func isUnpinnedDotNetCliInstall(cmd []string) bool {
return false
}
// Search for dotnet commands.
if !isBinaryName("dotnet", cmd[0]) {
if !isBinaryName("dotnet", cmd[0]) && !isBinaryName("dotnet.exe", cmd[0]){
return false
}

Expand Down

0 comments on commit 96dd113

Please sign in to comment.