chore: Lint extensions folder.

This commit is contained in:
cpojer
2026-01-31 22:13:48 +09:00
parent 4f2166c503
commit 230ca789e2
221 changed files with 4006 additions and 1583 deletions
@@ -83,8 +83,12 @@ describe("extractGeminiCliCredentials", () => {
mockExistsSync.mockImplementation((p: string) => {
const normalized = normalizePath(p);
if (normalized === normalizePath(fakeGeminiPath)) return true;
if (normalized === normalizePath(fakeOauth2Path)) return true;
if (normalized === normalizePath(fakeGeminiPath)) {
return true;
}
if (normalized === normalizePath(fakeOauth2Path)) {
return true;
}
return false;
});
mockRealpathSync.mockReturnValue(fakeResolvedPath);
@@ -160,8 +164,12 @@ describe("extractGeminiCliCredentials", () => {
mockExistsSync.mockImplementation((p: string) => {
const normalized = normalizePath(p);
if (normalized === normalizePath(fakeGeminiPath)) return true;
if (normalized === normalizePath(fakeOauth2Path)) return true;
if (normalized === normalizePath(fakeGeminiPath)) {
return true;
}
if (normalized === normalizePath(fakeOauth2Path)) {
return true;
}
return false;
});
mockRealpathSync.mockReturnValue(fakeResolvedPath);
@@ -205,8 +213,12 @@ describe("extractGeminiCliCredentials", () => {
mockExistsSync.mockImplementation((p: string) => {
const normalized = normalizePath(p);
if (normalized === normalizePath(fakeGeminiPath)) return true;
if (normalized === normalizePath(fakeOauth2Path)) return true;
if (normalized === normalizePath(fakeGeminiPath)) {
return true;
}
if (normalized === normalizePath(fakeOauth2Path)) {
return true;
}
return false;
});
mockRealpathSync.mockReturnValue(fakeResolvedPath);