Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix contributor-scraping code
Joseph T Lyons777ddefa73c0
diff --git a/script/get-preview-channel-changes b/script/get-preview-channel-changesindex 476e3a4be09..c1fefad37f6 100755--- a/script/get-preview-channel-changes+++ b/script/get-preview-channel-changes@@ -59,7 +59,7 @@ async function main() {const releaseNotesHeader = /^\s*Release Notes:(.+)/ims;let releaseNotes = pullRequest.body || "";- let contributor = pullRequest.user.login || "";+ let contributor = pullRequest.user?.login ?? "Unable to identify";const captures = releaseNotesHeader.exec(releaseNotes);const notes = captures ? captures[1] : "MISSING";const skippableNoteRegex = /^\s*-?\s*n\/?a\s*/ims;