multi-agents-cli 1.1.52 → 1.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/workflow/sync.js +2 -2
- package/package.json +1 -1
package/core/workflow/sync.js
CHANGED
|
@@ -53,12 +53,12 @@ const getWorktrees = () => {
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const getLocalBranches = () => {
|
|
56
|
-
const out = gitRead('branch --format
|
|
56
|
+
const out = gitRead('branch --format=\"%(refname:short)\"');
|
|
57
57
|
return out ? out.split('\n').map(s => s.trim()).filter(Boolean) : [];
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
const getMergedBranches = () => {
|
|
61
|
-
const out = gitRead('branch --merged main --format
|
|
61
|
+
const out = gitRead('branch --merged main --format=\"%(refname:short)\"');
|
|
62
62
|
return out ? out.split('\n').map(s => s.trim()).filter(Boolean) : [];
|
|
63
63
|
};
|
|
64
64
|
|
package/package.json
CHANGED