From 23eb3e7c1451f1ccd9caac2dfc10c8796418b516 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 26 Mar 2020 16:45:33 +0000 Subject: [PATCH] Added missing semicolon no issue --- core/server/services/slack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/services/slack.js b/core/server/services/slack.js index cfa0e17df0..90b932ecee 100644 --- a/core/server/services/slack.js +++ b/core/server/services/slack.js @@ -42,7 +42,7 @@ function ping(post) { if (post.custom_excerpt) { description = post.custom_excerpt; } else if (post.html) { - description = `${post.html.replace(/<[^>]+>/g, '').split('.').slice(0, 3).join('.')}.` + description = `${post.html.replace(/<[^>]+>/g, '').split('.').slice(0, 3).join('.')}.`; } else { description = null; }