Skip to content

Commit cca943e

Browse files
committed
fix: minor stuff
1 parent 222bcaa commit cca943e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/branches.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ jobs:
2828
"",
2929
"Thanks for your cooperation 🦾!"
3030
].join("\n")})
31+
- name: Change base branch
32+
run: exit 1

tests/presets.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ catch {
2121
if (!/^[-\w\d]+\/[-\w\d]+$/.test(repo))
2222
throw new Error(`invalid repo: ${repo}`)
2323
console.log(`cloning: ${repo}@${branch}`)
24-
processes.execSync(`git clone https://github.com/${repo}.git ${__presets} --branch ${branch} --single-branch`)
24+
processes.execFileSync("git", ["clone", `https://github.com/${repo}.git`, __presets, "--branch", branch, "--single-branch"])
2525
}
2626

2727
//Generate presets examples

0 commit comments

Comments
 (0)