3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-19 16:05:01 +00:00

Run prettier and check tslint on entire codebase

Mainly to run these checks for the recent pull requests.
This commit is contained in:
Dragory 2020-01-12 11:47:54 +02:00
parent 1c0f69e80a
commit 3d40783ae1
15 changed files with 89 additions and 60 deletions

View file

@ -125,7 +125,10 @@ export class MessageSaverPlugin extends ZeppelinPlugin<TConfigSchema> {
await msg.channel.createMessage(`Saving pins from <#${args.channel.id}>...`);
const pins = await args.channel.getPins();
const { savedCount, failed } = await this.saveMessagesToDB(args.channel, pins.map(m => m.id));
const { savedCount, failed } = await this.saveMessagesToDB(
args.channel,
pins.map(m => m.id),
);
if (failed.length) {
msg.channel.createMessage(