File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ export function parsePositionalArgs(args: string[]): {
8080type ResolvedProfileTarget = {
8181 org : string ;
8282 project : string ;
83- orgDisplay : string ;
84- projectDisplay : string ;
8583 detectedFrom ?: string ;
8684} ;
8785
@@ -159,22 +157,15 @@ export const viewCommand = buildCommand({
159157 target = {
160158 org : parsed . org ,
161159 project : parsed . project ,
162- orgDisplay : parsed . org ,
163- projectDisplay : parsed . project ,
164160 } ;
165161 break ;
166162
167163 case ProjectSpecificationType . ProjectSearch : {
168- const resolved = await resolveProjectBySlug (
164+ target = await resolveProjectBySlug (
169165 parsed . projectSlug ,
170166 USAGE_HINT ,
171167 `sentry profile view <org>/${ parsed . projectSlug } ${ transactionRef } `
172168 ) ;
173- target = {
174- ...resolved ,
175- orgDisplay : resolved . org ,
176- projectDisplay : resolved . project ,
177- } ;
178169 break ;
179170 }
180171
You can’t perform that action at this time.
0 commit comments