Skip to content

Commit 8b4e7f7

Browse files
committed
chore: lint
1 parent bbe246f commit 8b4e7f7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/clean-git-cache.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ export type CleanGitCacheOptions = {
4444
json?: boolean;
4545
};
4646

47-
export const cleanGitCache = async (
48-
options: CleanGitCacheOptions = {},
49-
): Promise<CleanGitCacheResult> => {
47+
export const cleanGitCache = async (): Promise<CleanGitCacheResult> => {
5048
const cacheDir = resolveGitCacheDir();
5149
const cacheExists = await exists(cacheDir);
5250

src/git/fetch-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ const cloneOrUpdateRepo = async (params: FetchParams, outDir: string) => {
215215
await git(["-C", cachePath, ...fetchArgs], {
216216
timeoutMs: params.timeoutMs,
217217
});
218-
} catch (error) {
218+
} catch (_error) {
219219
// Fetch failed, remove corrupt cache and re-clone
220220
await rm(cachePath, { recursive: true, force: true });
221221
await cloneRepo(params, cachePath);

0 commit comments

Comments
 (0)