Skip to content

Commit 0d44403

Browse files
authored
Unable to open a line on Github (#3458)
Fixes #3418
1 parent 2016355 commit 0d44403

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/issues/issueFeatureRegistrar.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,8 +1177,7 @@ ${body ?? ''}\n
11771177
async openPermalink() {
11781178
const link = await this.getPermalinkWithError();
11791179
if (link.permalink) {
1180-
return vscode.env.openExternal(vscode.Uri.parse(
1181-
link.originalFile ? (await this.getContextualizedLink(link.originalFile, link.permalink)) : link.permalink));
1180+
return vscode.env.openExternal(vscode.Uri.parse(link.permalink));
11821181
}
11831182
return undefined;
11841183
}

0 commit comments

Comments
 (0)