Skip to content

Commit d3b78e3

Browse files
committed
Supplement callback type and reverted helper change
1 parent d8cd9fb commit d3b78e3

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

generate/input/libgit2-supplement.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
"name": "transfer_progress"
700700
},
701701
{
702-
"type": "git_push_transfer_progress",
702+
"type": "git_push_transfer_progress_cb",
703703
"name": "push_transfer_progress"
704704
},
705705
{

generate/scripts/helpers.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ var Helpers = {
8585
},
8686

8787
isCallbackFunction: function(cType) {
88-
// NOTE: Added this just to get it working, I'm not sure how else to get
89-
// around this, as the fieldOverrides are applied after this.
90-
if (cType === 'git_push_transfer_progress') {
91-
return true;
92-
}
93-
9488
return callbackTypePattern.test(cType);
9589
},
9690

0 commit comments

Comments
 (0)