fix: minor stuff

This commit is contained in:
lowlighter
2022-01-27 01:06:36 -05:00
parent 222bcaab6b
commit cca943ea92
2 changed files with 3 additions and 1 deletions

View File

@@ -28,3 +28,5 @@ jobs:
"",
"Thanks for your cooperation 🦾!"
].join("\n")})
- name: Change base branch
run: exit 1

View File

@@ -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