From cca943ea92f5168976b551e9f18daff0bdea2a1e Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Thu, 27 Jan 2022 01:06:36 -0500 Subject: [PATCH] fix: minor stuff --- .github/workflows/branches.yml | 2 ++ tests/presets.test.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/branches.yml b/.github/workflows/branches.yml index 09fdcf04..bd0bf5f7 100644 --- a/.github/workflows/branches.yml +++ b/.github/workflows/branches.yml @@ -28,3 +28,5 @@ jobs: "", "Thanks for your cooperation 🦾!" ].join("\n")}) + - name: Change base branch + run: exit 1 diff --git a/tests/presets.test.js b/tests/presets.test.js index 8f88e985..d6610815 100644 --- a/tests/presets.test.js +++ b/tests/presets.test.js @@ -21,7 +21,7 @@ catch { if (!/^[-\w\d]+\/[-\w\d]+$/.test(repo)) throw new Error(`invalid repo: ${repo}`) console.log(`cloning: ${repo}@${branch}`) - processes.execSync(`git clone https://github.com/${repo}.git ${__presets} --branch ${branch} --single-branch`) + processes.execFileSync("git", ["clone", `https://github.com/${repo}.git`, __presets, "--branch", branch, "--single-branch"]) } //Generate presets examples