Skip to content

Commit 6ab411f

Browse files
committed
style: 💄 suppress linter warnings
1 parent 2da0936 commit 6ab411f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server/services/blocks/BlocksServices.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export class BlocksServices {
1616
patches,
1717
};
1818
this.services.pubsub.publish(`__block:${id}`, data).catch((error) => {
19+
// tslint:disable-next-line:no-console
1920
console.error('Error publishing block patches', error);
2021
});
2122
return {block};
@@ -32,6 +33,7 @@ export class BlocksServices {
3233
public async remove(id: string) {
3334
await this.store.remove(id);
3435
this.services.pubsub.publish(`__block:${id}`, {deleted: true}).catch((error) => {
36+
// tslint:disable-next-line:no-console
3537
console.error('Error publishing block deletion', error);
3638
});
3739
}
@@ -43,6 +45,7 @@ export class BlocksServices {
4345
const {store} = this;
4446
const {block} = await store.edit(id, patches);
4547
this.services.pubsub.publish(`__block:${id}`, {patches}).catch((error) => {
48+
// tslint:disable-next-line:no-console
4649
console.error('Error publishing block patches', error);
4750
});
4851
const expectedBlockSeq = seq + patches.length - 1;

0 commit comments

Comments
 (0)