Skip to content

Commit

Permalink
Fix eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks committed Jan 16, 2024
1 parent 455a4c0 commit 1fbd0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/platform/gitea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ const platform: Platform = {
async getRepos(config?: AutodiscoverConfig): Promise<string[]> {
logger.debug('Auto-discovering Gitea repositories');
try {
const topics = config?.topics || [undefined];
const topics = config?.topics ?? [undefined];
let repos: string[] = [];
for (const topic of topics) {
const r = await fetchRepositories(topic);
Expand Down

0 comments on commit 1fbd0cf

Please sign in to comment.