Skip to content

Commit 5d56e89

Browse files
committed
Fix linting issues
1 parent 541faed commit 5d56e89

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/queue/drivers/gcps/GCPSConsumer.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,20 @@ export class GCPSConsumer implements Process {
9595
await Promise.all(
9696
messages.map(async (m) => {
9797
if (m.message.attributes === undefined) {
98-
if (this.logger) {
99-
this.logger.info(
100-
`[GCPS - TASK - START] Event discarded due to corrupted attributes.`
101-
)
102-
}
98+
if (this.logger) {
99+
this.logger.info(
100+
`[GCPS - TASK - START] Event discarded due to corrupted attributes.`
101+
)
102+
}
103103

104-
return this.ack(m.ackId)
104+
return this.ack(m.ackId)
105105
}
106106

107107
return this.executeTask(
108108
m.ackId,
109109
{
110-
eventName: m.message.attributes.STRONTIUM_EVENT_NAME,
110+
eventName:
111+
m.message.attributes.STRONTIUM_EVENT_NAME,
111112
message: m.message.data,
112113
},
113114
container

0 commit comments

Comments
 (0)