mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
refactor: remove duplicate dependency names in warning (#24992)
This commit is contained in:
parent
3c592a236c
commit
adca94e964
1 changed files with 2 additions and 1 deletions
|
@ -50,8 +50,9 @@ export function checkGithubToken(
|
|||
'github-token-required-warning-logged'
|
||||
);
|
||||
if (!warningLogged) {
|
||||
const withoutDuplicates = [...new Set(githubDeps)];
|
||||
logger.warn(
|
||||
{ githubDeps },
|
||||
{ githubDeps: withoutDuplicates },
|
||||
`GitHub token is required for some dependencies`
|
||||
);
|
||||
memCache.set('github-token-required-warning-logged', true);
|
||||
|
|
Loading…
Reference in a new issue