Skip to content

Commit 1b099ce

Browse files
committed
chore: automatic lint-fix
1 parent 4951017 commit 1b099ce

7 files changed

Lines changed: 10 additions & 3 deletions

File tree

src/Client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class Client extends EventEmitter {
107107

108108
Util.setFfmpegPath(this.options.ffmpegPath);
109109
}
110+
110111
/**
111112
* Injection logic
112113
* Private function
@@ -322,7 +323,7 @@ class Client extends EventEmitter {
322323
await webCache.persist(this.currentIndexHtml, version);
323324
}
324325

325-
//Load util functions (serializers, helper functions)
326+
// Load util functions (serializers, helper functions)
326327
await this.pupPage.evaluate(LoadUtils);
327328

328329
let start = Date.now();

src/authStrategies/BaseAuthStrategy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class BaseAuthStrategy {
88
setup(client) {
99
this.client = client;
1010
}
11+
1112
async beforeBrowserInitialized() {}
1213
async afterBrowserInitialized() {}
1314
async onAuthenticationNeeded() {
@@ -17,6 +18,7 @@ class BaseAuthStrategy {
1718
failureEventPayload: undefined,
1819
};
1920
}
21+
2022
async getAuthEventPayload() {}
2123
async afterAuthReady() {}
2224
async disconnect() {}

src/structures/Label.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Label extends Base {
3737
*/
3838
this.hexColor = labelData.hexColor;
3939
}
40+
4041
/**
4142
* Get all chats that have been assigned this Label
4243
* @returns {Promise<Array<Chat>>}

src/structures/Message.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ class Message extends Base {
821821
}
822822
return undefined;
823823
}
824+
824825
/**
825826
* Gets the payment details associated with a given message
826827
* @return {Promise<Payment>}
@@ -1006,6 +1007,7 @@ class Message extends Base {
10061007

10071008
return edittedEventMsg && new Message(this.client, edittedEventMsg);
10081009
}
1010+
10091011
/**
10101012
* Returns the PollVote this poll message
10111013
* @returns {Promise<PollVote[]>}

src/util/Injected/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ exports.LoadUtils = () => {
361361
content = options.buttons.body;
362362
caption = content;
363363
} else {
364-
caption = options.caption ? options.caption : ' '; //Caption can't be empty
364+
caption = options.caption ? options.caption : ' '; // Caption can't be empty
365365
}
366366
buttonOptions = {
367367
productHeaderImageRejected: false,

src/webCache/WebCache.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class WebCache {
55
async resolve() {
66
return null;
77
}
8+
89
async persist() {}
910
}
1011

tests/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ END:VCARD`;
351351
it('can send multiple Contacts as a contact card message', async function () {
352352
const contact1 = await client.getContactById(remoteId);
353353
const contact2 =
354-
await client.getContactById('5511942167462@c.us'); //iFood
354+
await client.getContactById('5511942167462@c.us'); // iFood
355355

356356
const msg = await client.sendMessage(remoteId, [
357357
contact1,

0 commit comments

Comments
 (0)