Skip to content

Commit

Permalink
refactor(queues): remove unnecessary line breaks in SignalWithStartWo…
Browse files Browse the repository at this point in the history
…rkflow function
  • Loading branch information
debuggerpk committed Oct 6, 2024
1 parent 4e859cc commit ac88a4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions queues/queues.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,7 @@ func (q *queue) SignalWorkflow(ctx context.Context, opts wrk.Options, signal Sig
return q.client.SignalWorkflow(ctx, q.WorkflowID(opts), "", signal.String(), args)
}

func (q *queue) SignalWithStartWorkflow(
ctx context.Context, opts wrk.Options, signal Signal, args any, fn any, payload ...any,
) (WorkflowRun, error) {
func (q *queue) SignalWithStartWorkflow(ctx context.Context, opts wrk.Options, signal Signal, args any, fn any, payload ...any) (WorkflowRun, error) {

Check warning on line 270 in queues/queues.go

View workflow job for this annotation

GitHub Actions / lint

line-length-limit: line is 150 characters, out of limit 140 (revive)
if q.client == nil {
return nil, ErrClientNil
}
Expand Down

0 comments on commit ac88a4a

Please sign in to comment.