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