Skip to content

Commit

Permalink
Merge pull request #19 from grafana/18-fix-output-file-error-handling
Browse files Browse the repository at this point in the history
fix output file error handling
  • Loading branch information
szkiba authored Aug 12, 2024
2 parents 1b5aad8 + 2f1f664 commit 216410c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ func New() (*cobra.Command, error) {
}

//nolint:forbidigo
func run(ctx context.Context, args []string, opts *options) error {
var result error

func run(ctx context.Context, args []string, opts *options) (result error) {
input := os.Stdin

if len(args) > 1 {
Expand Down
1 change: 1 addition & 0 deletions docs/legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
- k6/x/smtp
- module: github.com/grafana/xk6-client-prometheus-remote
description: Test Prometheus Remote Write performance
official: true
imports:
- k6/x/remotewrite
- module: github.com/grafana/xk6-client-tracing
Expand Down

0 comments on commit 216410c

Please sign in to comment.