Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Oct 16, 2024
1 parent 80c316c commit 9c38245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/erigon_node/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (c *NodeClient) FindProfile(ctx context.Context, profile string) ([]byte, e
return nil, fmt.Errorf("writing to temporary file: %w", err)
}

cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name()) //nolint:gosec
cmd := exec.Command("go", "tool", "pprof", "-dot", tempFile.Name()) //nolint:gosec i don't know how to fix gosec warning

Check failure on line 55 in internal/erigon_node/profile.go

View workflow job for this annotation

GitHub Actions / build

whyNoLint: include an explanation for nolint directive (gocritic)
svgOutput, err := cmd.Output()
if err != nil {
return nil, fmt.Errorf("generating SVG output: %w", err)
Expand Down

0 comments on commit 9c38245

Please sign in to comment.