diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-08 01:45:21 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-08 01:45:21 +0800 |
commit | 80f1fe1373e4da161b124d86dd8ec93310b2ea82 (patch) | |
tree | 38dfcf4fed47c0235deb626b8aa0dabd66a0f36c /packages/monorepo-scripts/src | |
parent | 571bc736e573312bc1ca1992c2bfc34269d5899c (diff) | |
parent | 99016cc5a6cc018eac08d715e649fadbe952fe21 (diff) | |
download | dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.tar dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.tar.gz dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.tar.bz2 dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.tar.lz dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.tar.xz dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.tar.zst dexon-sol-tools-80f1fe1373e4da161b124d86dd8ec93310b2ea82.zip |
Merge branch 'feature/monorepo/release-notes' of github.com:0xProject/0x-monorepo into feature/monorepo/release-notes
Diffstat (limited to 'packages/monorepo-scripts/src')
-rw-r--r-- | packages/monorepo-scripts/src/utils/discord.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/utils/discord.ts b/packages/monorepo-scripts/src/utils/discord.ts index 2f3afef45..3a0458769 100644 --- a/packages/monorepo-scripts/src/utils/discord.ts +++ b/packages/monorepo-scripts/src/utils/discord.ts @@ -6,7 +6,7 @@ import { utils } from './utils'; export const alertDiscordAsync = async (releaseNotes: string): Promise<void> => { const webhookUrl = constants.discordAlertWebhookUrl; - if (!webhookUrl) { + if (webhookUrl === undefined) { throw new Error("No discord webhook url, can't alert"); } |