diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts
index eead7e621a7143235649bbc7d91f65a861f1bab1..09bb5a4af5b8f58eff51038a276047336bf4be3f 100644
--- a/lib/platform/github/index.ts
+++ b/lib/platform/github/index.ts
@@ -376,7 +376,7 @@ export async function initRepo({
           logger.info('Fork deleted');
           if (is.nonEmptyArray(existingRepos)) {
             existingRepos = existingRepos.filter(
-              (repo) => repo !== config.repository
+              (existingRepo) => existingRepo !== config.repository
             );
           }
         } catch (deleteErr) {