Skip to content

chore: try implement MQ broker #1

chore: try implement MQ broker

chore: try implement MQ broker #1

Triggered via push June 15, 2023 01:08
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
lint: src/simple-mq.ts#L1
'Packet' is defined but never used
lint: src/simple-mq.ts#L14
Replace `[rule:·string]:·QoS}` with `·[rule:·string]:·QoS·};`
lint: src/simple-mq.ts#L39
Replace `topic:·string,·payload:·string·|·Buffer,·retainTime?:·number·|·undefined` with `⏎····topic:·string,⏎····payload:·string·|·Buffer,⏎····retainTime?:·number·|·undefined⏎··`
lint: src/simple-mq.ts#L53
Duplicate name 'payload'
lint: src/simple-mq.ts#L57
Duplicate name 'topic'
lint: src/simple-mq.ts#L68
Replace `[id:·string]:·Client` with `·[id:·string]:·Client·`
lint: src/simple-mq.ts#L69
Replace `[id:·string]:·MQClientSession` with `·[id:·string]:·MQClientSession·`
lint: src/simple-mq.ts#L94
'packet' is defined but never used. Allowed unused args must match /^_/u
lint: src/simple-mq.ts#L104
Replace `·await·this.authenticate?.(connPkt.username,·connPkt.password)` with `⏎········(await·this.authenticate?.(connPkt.username,·connPkt.password))`
lint: src/simple-mq.ts#L106
Insert `;`
build
Process completed with exit code 1.
lint: src/simple-mq.ts#L187
["retry"] is better written in dot notation
lint: src/simple-mq.ts#L201
["retry"] is better written in dot notation