From f7ae840cf8b5647db2908053e83fdaa081924d8a Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Wed, 5 Jun 2024 15:38:56 -0400 Subject: [PATCH] chore: remove unused `exists` function (#10) --- .github/scripts/libmongocrypt.mjs | 9 --------- .github/workflows/build.yml | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/scripts/libmongocrypt.mjs b/.github/scripts/libmongocrypt.mjs index 3566aa8..f07dea3 100644 --- a/.github/scripts/libmongocrypt.mjs +++ b/.github/scripts/libmongocrypt.mjs @@ -15,15 +15,6 @@ function resolveRoot(...paths) { return path.resolve(__dirname, '..', '..', ...paths); } -async function exists(fsPath) { - try { - await fs.access(fsPath); - return true; - } catch { - return false; - } -} - async function parseArguments() { const pkg = JSON.parse(await fs.readFile(resolveRoot('package.json'), 'utf8')); diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1270be7..25c60bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: collect: needs: [host_builds, container_builds] - runs-on: ubunutu-latest + runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4