File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -617,6 +617,9 @@ function parseMultiSlashIssueArg(
617617 ) ;
618618 }
619619
620+ // Lowercase project slug — Sentry slugs are always lowercase.
621+ const normalizedProject = project . toLowerCase ( ) ;
622+
620623 // Remainder with dash: "org/project/PROJ-G" — split remainder on last dash
621624 if ( remainder . includes ( "-" ) ) {
622625 const lastDash = remainder . lastIndexOf ( "-" ) ;
@@ -626,14 +629,19 @@ function parseMultiSlashIssueArg(
626629 return {
627630 type : "explicit" ,
628631 org,
629- project,
632+ project : normalizedProject ,
630633 suffix : `${ subProject } -${ suffix } ` . toUpperCase ( ) ,
631634 } ;
632635 }
633636 }
634637
635638 // "org/project/101149101" or "org/project/G" — treat remainder as suffix
636- return { type : "explicit" , org, project, suffix : remainder . toUpperCase ( ) } ;
639+ return {
640+ type : "explicit" ,
641+ org,
642+ project : normalizedProject ,
643+ suffix : remainder . toUpperCase ( ) ,
644+ } ;
637645}
638646
639647function parseAfterSlash (
You can’t perform that action at this time.
0 commit comments