From f979ab8f404b8524b76565a3557981fc67331875 Mon Sep 17 00:00:00 2001 From: Takeshi Date: Sat, 17 Feb 2024 16:37:23 -0700 Subject: [PATCH] Silence istanbul --- src/utils/clone.ts | 1 + src/utils/download.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/utils/clone.ts b/src/utils/clone.ts index fb461bb..558a9f9 100644 --- a/src/utils/clone.ts +++ b/src/utils/clone.ts @@ -37,6 +37,7 @@ export default async function clone( const remote = async () => { // If the repository is cached, remove the old cache if (await exists(archivePath)) { + /* istanbul ignore next */ await rm(archivePath) } diff --git a/src/utils/download.ts b/src/utils/download.ts index fd24054..0e2fb82 100644 --- a/src/utils/download.ts +++ b/src/utils/download.ts @@ -31,6 +31,7 @@ export default async function download( const remote = async () => { // If the repository is cached, remove the old cache if (await exists(archivePath)) { + /* istanbul ignore next */ rm(archivePath) }