fix: minor stuff
This commit is contained in:
2
.github/workflows/branches.yml
vendored
2
.github/workflows/branches.yml
vendored
@@ -28,3 +28,5 @@ jobs:
|
|||||||
"",
|
"",
|
||||||
"Thanks for your cooperation 🦾!"
|
"Thanks for your cooperation 🦾!"
|
||||||
].join("\n")})
|
].join("\n")})
|
||||||
|
- name: Change base branch
|
||||||
|
run: exit 1
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ catch {
|
|||||||
if (!/^[-\w\d]+\/[-\w\d]+$/.test(repo))
|
if (!/^[-\w\d]+\/[-\w\d]+$/.test(repo))
|
||||||
throw new Error(`invalid repo: ${repo}`)
|
throw new Error(`invalid repo: ${repo}`)
|
||||||
console.log(`cloning: ${repo}@${branch}`)
|
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
|
//Generate presets examples
|
||||||
|
|||||||
Reference in New Issue
Block a user