Skip to content

Found 5 issues. Generating a markdown table of the first 10…#6390

Merged
alexr00 merged 1 commit intomainfrom
alexr00/issue6364
Oct 23, 2024
Merged

Found 5 issues. Generating a markdown table of the first 10…#6390
alexr00 merged 1 commit intomainfrom
alexr00/issue6364

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented Oct 23, 2024

Fixes #6364

@alexr00 alexr00 self-assigned this Oct 23, 2024
@alexr00 alexr00 requested review from aiday-mar and lszomoru October 23, 2024 09:47
@alexr00 alexr00 enabled auto-merge (squash) October 23, 2024 09:47
@vs-code-engineering vs-code-engineering Bot added this to the October 2024 milestone Oct 23, 2024
@alexr00 alexr00 merged commit b673dd7 into main Oct 23, 2024
@alexr00 alexr00 deleted the alexr00/issue6364 branch October 23, 2024 09:50
const actualDisplay = Math.min(maxDisplay, foundIssuesCount);
return {
invocationMessage: vscode.l10n.t('Found {0} issues. Generating a markdown table of the first 10', options.parameters.totalIssues)
invocationMessage: vscode.l10n.t('Found {0} issues. Generating a markdown table of the first {1}', foundIssuesCount, actualDisplay)
Copy link
Copy Markdown
Contributor

@benibenj benibenj Oct 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexr00 If foundIssuesCount is smaller than actualDisplay I don't think it should mention ... of the first {1}.

I would expect:

  • Found 4654 issues. Generating a markdown table of the first 10…
  • Found 5 issues. Generating a markdown table

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair! New PR incoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Found 5 issues. Generating a markdown table of the first 10…

3 participants