From 4ba5ec49dd75a024ebcf1131ccf89c415e7ab29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Fri, 30 Nov 2018 14:49:51 -0600 Subject: [PATCH] 2.0.1 --- app/helpers/slack.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/slack.js b/app/helpers/slack.js index a683da8..ab6bbf4 100644 --- a/app/helpers/slack.js +++ b/app/helpers/slack.js @@ -23,7 +23,7 @@ const slackWebhook = new IncomingWebhook(slackUrl); export default ({ message, pretext, title }) => { if (!slackUrl) return; - pretext = pretext + environmentMessage; + pretext = pretext || "" + environmentMessage; slackWebhook.send({ attachments: [{ diff --git a/package.json b/package.json index 33686e1..e55f6aa 100755 --- a/package.json +++ b/package.json @@ -97,5 +97,5 @@ "app/dist" ] }, - "version": "2.0.0" + "version": "2.0.1" }