Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion netlify/functions/deploy-succeeded.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports.handler = async (event) => {
const { payload } = JSON.parse(event.body);
const repo = payload.review_url.match(/github\.com\/(.*)\/pull\/(.*)/);
if (!repo) {
throw new Error(`No repo found at review_url: ${payload.review_url}`);
throw new Error(`No repository found at review_url: ${payload.review_url}`);
}

// eslint-disable-next-line no-console
Expand Down
Loading