Skip to content

Commit

Permalink
fix(changelog-notify): Fixed google chat throwing error with wrong en…
Browse files Browse the repository at this point in the history
…v variable
  • Loading branch information
TriPSs committed Jun 14, 2024
1 parent eac9b4c commit 5585fa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function formatSection(options: NotifyChangelogOptions, section: Section)

export default async function notifyChangelog(options: NotifyChangelogOptions) {
if (!GOOGLE_CHAT_CHANGELOG_WEBHOOK) {
throw new Error('No "SLACK_CHANGELOG_WEBHOOK" environment variable set!')
throw new Error('No "GOOGLE_CHAT_CHANGELOG_WEBHOOK" environment variable set!')
}

return {
Expand Down

0 comments on commit 5585fa5

Please sign in to comment.