Fix all 93 ESLint issues (3 errors, 90 warnings) (#666)

This commit is contained in:
Thomas Durieux
2026-04-15 09:04:22 +02:00
committed by GitHub
parent 1d97c76e7e
commit f4209110c7
28 changed files with 77 additions and 69 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ import { Octokit } from "@octokit/rest";
import Repository from "./Repository";
import UserModel from "./model/users/users.model";
import config from "../config";
import { RepositoryStatus } from "./types";
export function octokit(token: string) {
return new Octokit({
@@ -19,7 +18,7 @@ export async function checkToken(token: string) {
try {
await oct.users.getAuthenticated();
return true;
} catch (error) {
} catch {
return false;
}
}