File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 699699 "name" : " transfer_progress"
700700 },
701701 {
702- "type" : " git_push_transfer_progress_cb" ,
703- "name" : " push_transfer_progress"
702+ "type" : " git_push_transfer_progress" ,
703+ "name" : " push_transfer_progress" ,
704+ "isCallback" : true
704705 },
705706 {
706707 "type" : " git_transport_cb" ,
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ var Helpers = {
8484 } ) ;
8585 } ,
8686
87- isCallbackFunction : function ( cType ) {
88- return callbackTypePattern . test ( cType ) ;
87+ isCallbackFunction : function ( cType , isCallback ) {
88+ return isCallback === true || callbackTypePattern . test ( cType ) ;
8989 } ,
9090
9191 isPayloadFor : function ( cbField , payloadName ) {
@@ -228,7 +228,7 @@ var Helpers = {
228228 field . jsClassName = utils . titleCase ( Helpers . cTypeToJsName ( field . type ) ) ;
229229 field . ownedByThis = true ;
230230
231- if ( Helpers . isCallbackFunction ( field . cType ) ) {
231+ if ( Helpers . isCallbackFunction ( field . cType , field . isCallback ) ) {
232232 Helpers . processCallback ( field ) ;
233233
234234 var argOverrides = fieldOverrides . args || { } ;
You can’t perform that action at this time.
0 commit comments