Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Allow PRs to not have a newline before the first release note (#52336)
Conrad Irwin9dd588a7a917
diff --git a/script/danger/dangerfile.ts b/script/danger/dangerfile.tsindex c1ca883f3e9..99a29e51d9f 100644--- a/script/danger/dangerfile.ts+++ b/script/danger/dangerfile.ts@@ -12,7 +12,7 @@ prHygiene({},});-const RELEASE_NOTES_PATTERN = /Release Notes:\r?\n\s+-/gm;+const RELEASE_NOTES_PATTERN = /Release Notes:(\r?\n)+- /gm;const body = danger.github.pr.body;const hasReleaseNotes = RELEASE_NOTES_PATTERN.test(body);