Skip to content

Commit

Permalink
Try moving linter pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
dantecatalfamo committed Sep 24, 2024
1 parent 34ec021 commit f534990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orbit/pkg/swiftdialog/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ func Create(ctx context.Context, swiftDialogBin string, options *SwiftDialogOpti
return nil, err
}

cmd := exec.CommandContext(
cmd := exec.CommandContext( //nolint:gosec
ctx,
swiftDialogBin,
"--jsonstring", string(jsonBytes),
"--commandfile", commandFile.Name(),
"--json",
) //nolint:gosec
)

outBuf := &bytes.Buffer{}
cmd.Stdout = outBuf
Expand Down

0 comments on commit f534990

Please sign in to comment.