Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/proxy/processors/push-action/parsePush.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@
.trim();
console.log({ tree });

const parent = parts
.find((t) => t.split(' ')[0] === 'parent')
.replace('parent', '')
.trim();
const parentValue = parts.find((t) => t.split(' ')[0] === 'parent');
console.log({ parentValue });

Check warning on line 69 in src/proxy/processors/push-action/parsePush.js

View check run for this annotation

Codecov / codecov/patch

src/proxy/processors/push-action/parsePush.js#L68-L69

Added lines #L68 - L69 were not covered by tests

const parent = parentValue

Check warning on line 71 in src/proxy/processors/push-action/parsePush.js

View check run for this annotation

Codecov / codecov/patch

src/proxy/processors/push-action/parsePush.js#L71

Added line #L71 was not covered by tests
? parentValue.replace('parent', '').trim()
: '0000000000000000000000000000000000000000';
console.log({ parent });

const author = parts
Expand Down
Loading