Skip to content

Commit

Permalink
Update shell_download_validate.go
Browse files Browse the repository at this point in the history
Signed-off-by: Avishay <[email protected]>
  • Loading branch information
laurentsimon authored and balteravishay committed Apr 14, 2023
1 parent efda72f commit 0018e37
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 @@ -698,7 +698,7 @@ func isChocoUnpinnedDownload(cmd []string) bool {
}

func isUnpinnedNugetCliInstall(cmd []string) bool {
// looking for command of type nuget install ...
// looking for command of type nuget install.
if len(cmd) < 2 {
return false
}
Expand All @@ -713,7 +713,7 @@ func isUnpinnedNugetCliInstall(cmd []string) bool {
return false
}

// Asseume installing a project with PackageReference (with versions)
// Assume installing a project with PackageReference (with versions)
// or packages.config at the root of command
if len(cmd) == 2 {
return false
Expand Down

0 comments on commit 0018e37

Please sign in to comment.