✨ feat(vscode): 发布按钮扩展侧 handler,删除分支同步

Claude-Session: https://claude.ai/code/session_01HTMgwaE3woqM5yvsHiuSAa
This commit is contained in:
cruldra committed 2026-08-31 23:41:03 +08:00
1 parent 6f59b4f3fd
commit b363e08ef9
12 files changed
+292 -345

No files matched your search

+2 -2
View File
@@ -341,7 +341,7 @@ describe('deleteLocalBranch', () => {
.mockImplementationOnce((_cmd, _args, _opts, cb) => {
cb(new Error('missing remote'), '', '')
})
const { deleteLocalBranch } = await import('../../src/git/branchSync.js')
const { deleteLocalBranch } = await import('../../src/git/branches.js')
const result = await deleteLocalBranch('/repo', 'feature/test')
@@ -379,7 +379,7 @@ describe('deleteLocalBranch', () => {
.mockImplementationOnce((_cmd, _args, _opts, cb) => {
cb(new Error('missing remote'), '', '')
})
const { deleteLocalBranch } = await import('../../src/git/branchSync.js')
const { deleteLocalBranch } = await import('../../src/git/branches.js')
const result = await deleteLocalBranch('/repo', 'feature/weird name;rm -rf')