fix: resolve eslint unused-var and useless-assignment warnings

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
tdurieux
2026-05-06 08:17:07 +03:00
parent e306adcc97
commit 7e0f900c7a
4 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export class GitHubRepository {
const status = (error as { status?: number }).status;
if (status === 404) {
// Distinguish: does the repo itself still exist?
let repoExists = false;
let repoExists: boolean;
try {
await oct.repos.get({ owner: this.owner, repo: this.repo });
repoExists = true;