mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-13 06:08:58 +02:00
fix: resolve eslint unused-var and useless-assignment warnings
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
e306adcc97
commit
7e0f900c7a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user