aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/monorepo-scripts/src/utils/discord.ts2
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");
}