Skip to content

--noGitHubIssueLinking option doesn't work properly #542

Closed
@horihiro

Description

@horihiro

According to the following code, this.expandGitHubIssueLinks is set to true when the option is not only specified but also not specified.

expandGitHubIssueLinks: noGitHubIssueLinking,

vscode-vsce/src/package.ts

Lines 441 to 442 in f186af2

this.expandGitHubIssueLinks =
typeof options.expandGitHubIssueLinks === 'boolean' ? options.expandGitHubIssueLinks : true;

So GitHub issue links in Markdown files are always expanded regardless of the option.

Activity

horihiro

horihiro commented on Mar 9, 2021

@horihiro
Author

The test for expandGitHubIssueLinks option of ReadmeProcessor exists, this test abehavior when expandGitHubIssueLinks is false as the following.

const processor = new ReadmeProcessor(manifest, { expandGitHubIssueLinks: false });

But as I commented, expandGitHubIssueLinks is always true as above.

horihiro

horihiro commented on Mar 10, 2021

@horihiro
Author

Hi @joaomoreno , Could you please look into this? Thanks.

self-assigned this
on Mar 12, 2021
added
bugIssue identified by VS Code Team member as probable bug
on Mar 12, 2021
added this to the March 2021 milestone on Mar 12, 2021

19 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
--noGitHubIssueLinking option doesn't work properly · Issue #542 · microsoft/vscode-vsce