style: bump prettier and format app

This commit is contained in:
sct
2021-05-13 23:48:08 +09:00
parent 4e484282f0
commit aa86809dc9
50 changed files with 196 additions and 195 deletions

View File

@@ -91,7 +91,8 @@ interface DiscordWebhookPayload {
class DiscordAgent
extends BaseAgent<NotificationAgentDiscord>
implements NotificationAgent {
implements NotificationAgent
{
protected getSettings(): NotificationAgentDiscord {
if (this.settings) {
return this.settings;
@@ -217,11 +218,8 @@ class DiscordAgent
let content = undefined;
try {
const {
botUsername,
botAvatarUrl,
webhookUrl,
} = this.getSettings().options;
const { botUsername, botAvatarUrl, webhookUrl } =
this.getSettings().options;
if (!webhookUrl) {
return false;