Skip to content

Commit

Permalink
Silence istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
Takeshi committed Feb 17, 2024
1 parent 24b6b7f commit f979ab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/clone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
1 change: 1 addition & 0 deletions src/utils/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit f979ab8

Please sign in to comment.