mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Add Justifications for Gosec Ignored (#10005)
* pin gosec * edit * go back to master * justifications * Update crypto/bls/blst/signature.go * proper format * gosec
This commit is contained in:
@@ -27,7 +27,7 @@ var (
|
||||
|
||||
// execShellOutputFunc passes a command and args to exec.CommandContext and returns the result as a string
|
||||
func execShellOutputFunc(ctx context.Context, command string, args ...string) (string, error) {
|
||||
result, err := exec.CommandContext(ctx, command, args...).Output() /* #nosec G204 */
|
||||
result, err := exec.CommandContext(ctx, command, args...).Output() // #nosec G204
|
||||
if err != nil {
|
||||
return "", errors.Wrap(err, "error in command execution")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user