Skip to content

Commit 2a0414b

Browse files
committed
Fix error handling in getVulnerability.go for improved clarity
1 parent 5f919f3 commit 2a0414b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/getVulnerability.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Examples:
111111
os.Exit(2)
112112
}
113113
return nil
114-
} else {
115-
return err
116114
}
115+
116+
return err
117117
},
118118
}
119119

0 commit comments

Comments
 (0)