From 23d82e0f3ae2b8f41c082ef288f0b914f03f8cd2 Mon Sep 17 00:00:00 2001 From: Bsian Date: Wed, 18 Dec 2019 23:26:42 +0000 Subject: [PATCH] Hopefully fix false positive --- src/commands/pull.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/pull.ts b/src/commands/pull.ts index 16a392a..6205880 100644 --- a/src/commands/pull.ts +++ b/src/commands/pull.ts @@ -33,7 +33,7 @@ export default class Pull extends Command { this.client.updating = false; return updateMessage.edit(updatedMessage); } - if (!pull.includes('origin/master')) { + if (!pull.includes('origin/master') && !pull.includes(' changed, ')) { const updatedMessage = updateMessage.content.replace(`${this.client.stores.emojis.loading} ***Fetching latest commit...***`, `${this.client.stores.emojis.error} ***Unexpected git output***`) .replace(/```$/, `${pull}\n\`\`\``); this.client.updating = false;