Skip to content

Commit 93a6123

Browse files
committed
fix: parsePush capability parsing
Co-authored-by: Thomas Cooper <[email protected]>
1 parent 160b441 commit 93a6123

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/proxy/processors/push-action/parsePush.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ async function exec(req: any, action: Action): Promise<Action> {
5353
return action;
5454
}
5555

56-
const parts = refUpdates[0].split(' ');
56+
const [commitParts, capParts] = refUpdates[0].split('\0');
57+
const parts = commitParts.split(' ');
58+
console.log({ commitParts, capParts, parts });
5759
if (parts.length !== 3) {
5860
step.log('Invalid number of parts in ref update.');
5961
step.log(`Expected 3, but got ${parts.length}`);

0 commit comments

Comments
 (0)