Skip to content

Commit

Permalink
fix: lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jhumel-code committed Mar 8, 2024
1 parent 643f653 commit fdc6e69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ func run(c *cobra.Command, args []string) {
}

// Set the scan type based on the input
params.Diggity.GetScanType()
err := params.Diggity.GetScanType()
if err != nil {
log.Fatal(err)
return
}

if len(failCriteria) > 0 {
failCriteria = strings.ToLower(failCriteria)
Expand Down

0 comments on commit fdc6e69

Please sign in to comment.