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" }