Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Update profile.go
Browse files Browse the repository at this point in the history
Co-authored-by: Achille <[email protected]>
  • Loading branch information
pelletier and achille-roussel committed Jun 1, 2023
1 parent b5f992e commit b3f92e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ func profile(ctx context.Context, args []string) error {
return err
}
defer compiledModule.Close(ctx)
err = p.Prepare(compiledModule)
if err != nil {
if err := p.Prepare(compiledModule); err != nil {
return err
}

Expand Down

0 comments on commit b3f92e2

Please sign in to comment.