From f00ab6d5e670a7c72eec4a613ef39c431b516550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Wed, 22 Jan 2025 22:44:13 +0800 Subject: [PATCH] rebuild --- dist/index.js | 2 +- src/utils/git.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index c3f75d5..7cd3808 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30395,7 +30395,7 @@ function useGit(context) { function cloneRepo() { return __awaiter(this, arguments, void 0, function* (branchName = 'develop') { // const repo_url = `https://${context.token}@github.com/${context.owner}/${context.repo}.git` - const repo_url = `git@github.com:${context.owner}}/${context.repo}.git`; + const repo_url = `git@github.com:${context.owner}/${context.repo}.git`; yield (0, exec_1.exec)('git', ['clone', '-b', branchName, repo_url, `../${context.repo}`]); }); } diff --git a/src/utils/git.ts b/src/utils/git.ts index 8b950c9..4a64716 100644 --- a/src/utils/git.ts +++ b/src/utils/git.ts @@ -8,7 +8,7 @@ export interface GitContext { export default function useGit(context: GitContext) { async function cloneRepo(branchName = 'develop') { // const repo_url = `https://${context.token}@github.com/${context.owner}/${context.repo}.git` - const repo_url = `git@github.com:${context.owner}}/${context.repo}.git` + const repo_url = `git@github.com:${context.owner}/${context.repo}.git` await exec('git', ['clone', '-b', branchName, repo_url, `../${context.repo}`]) } async function createBranch(branch: string) {