From fe141c4b633e7741a7793371f40a401325dd2f2c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 27 Jan 2022 03:47:57 +0000 Subject: [PATCH] chore: code formatting --- .github/scripts/presets_examples.mjs | 2 +- tests/presets.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/presets_examples.mjs b/.github/scripts/presets_examples.mjs index 534f7c07..5c56f393 100644 --- a/.github/scripts/presets_examples.mjs +++ b/.github/scripts/presets_examples.mjs @@ -15,7 +15,7 @@ const __metrics = paths.join(paths.dirname(url.fileURLToPath(import.meta.url)), const __presets = paths.join(__metrics, ".presets") if ((!await fs.access(__presets).then(_ => true).catch(_ => false)) || (!(await fs.lstat(__presets)).isDirectory())) { - let {HEAD_REF:branch, REPO:repo} = process.env + let { HEAD_REF: branch, REPO: repo } = process.env branch = branch || "presets" repo = repo || "lowlighter/metrics" console.log(`cloning: ${repo}@${branch}`) diff --git a/tests/presets.test.js b/tests/presets.test.js index ad7bcb7f..04b0d969 100644 --- a/tests/presets.test.js +++ b/tests/presets.test.js @@ -13,7 +13,7 @@ try { fss.accessSync(__presets) } catch { - let {HEAD_REF:branch, REPO:repo} = process.env + let { HEAD_REF: branch, REPO: repo } = process.env branch = branch || "presets" repo = repo || "lowlighter/metrics" console.log(`cloning: ${repo}@${branch}`)