You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Plus Code URL in PR body using undefined instead of resolved code
plusCodeNote is a string, not an object — plusCodeNote.code was always
undefined. Pass resolvedPlusCode into buildPrBody and use it in the URL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
constsubmitterMention=submitterLogin ? `@${submitterLogin}` : 'the submitter';
137
137
constlocationLine=isOnlineEvent
138
138
? '- [ ] Online event URL is correct and accessible'
@@ -148,7 +148,7 @@ function buildPrBody(number, name, submitterLogin, isOnlineEvent, eventDate, sta
148
148
constnoteBlock=plusCodeNote
149
149
? [
150
150
'> [!NOTE]',
151
-
`> The Plus Code was auto-recovered from the user's input (\`${rawPlusCode}\`) using the city as a reference. Please verify the map pin placement is correct (https://plus.codes/${plusCodeNote.code}).`,
151
+
`> The Plus Code was auto-recovered from the user's input (\`${rawPlusCode}\`) using the city as a reference. Please verify the map pin placement is correct (https://plus.codes/${resolvedPlusCode}).`,
0 commit comments