trim action
Generate check / check-changes (pull_request) Successful in 3s
Generate check / verify-generate (pull_request) Skipped
Quality / check-changes (pull_request) Successful in 2s
Quality / static-checks (pull_request) Successful in 21s
Quality / run-tests (pull_request) Successful in 54s
Generate check / check-changes (pull_request) Successful in 3s
Generate check / verify-generate (pull_request) Skipped
Quality / check-changes (pull_request) Successful in 2s
Quality / static-checks (pull_request) Successful in 21s
Quality / run-tests (pull_request) Successful in 54s
This commit is contained in:
1 parent
f1a7f777ef
commit
0aad073236
1 file changed
+1
-1
@@ -105,7 +105,7 @@ func (rr RecordReader) ReadRecord(ctx context.Context) (internal.Record, error)
|
|||||||
return Record{}, fmt.Errorf("read record: %w", err)
|
return Record{}, fmt.Errorf("read record: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
action := strings.ToLower(raw[0])
|
action := strings.Trim(strings.ToLower(raw[0]), " ")
|
||||||
if action == "action" { // header row
|
if action == "action" { // header row
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user