Cleanup unused bits and pieces (#10349)

This commit is contained in:
Pierre-Yves Bigourdan
2024-07-13 20:57:54 +02:00
committed by GitHub
parent dfc5a36817
commit 1585d157c1
8 changed files with 13 additions and 14 deletions

View File

@@ -48,7 +48,7 @@ export default class GithubMilestone extends GithubAuthV3Service {
color: 'informational',
}
static render({ user, repo, variant, milestones }) {
static render({ variant, milestones }) {
const milestoneLength = milestones.length
let color
let qualifier = ''
@@ -84,6 +84,6 @@ export default class GithubMilestone extends GithubAuthV3Service {
async handle({ user, repo, variant }) {
const milestones = await this.fetch({ user, repo, variant })
return this.constructor.render({ user, repo, variant, milestones })
return this.constructor.render({ variant, milestones })
}
}