File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -786,17 +786,17 @@ export class Gitpod {
786786 }
787787
788788 buildRequest (
789- options : FinalRequestOptions ,
789+ inputOptions : FinalRequestOptions ,
790790 { retryCount = 0 } : { retryCount ?: number } = { } ,
791791 ) : { req : FinalizedRequestInit ; url : string ; timeout : number } {
792- options = { ...options } ;
792+ const options = { ...inputOptions } ;
793793 const { method, path, query } = options ;
794794
795795 const url = this . buildURL ( path ! , query as Record < string , unknown > ) ;
796796 if ( 'timeout' in options ) validatePositiveInteger ( 'timeout' , options . timeout ) ;
797797 options . timeout = options . timeout ?? this . timeout ;
798798 const { bodyHeaders, body } = this . buildBody ( { options } ) ;
799- const reqHeaders = this . buildHeaders ( { options, method, bodyHeaders, retryCount } ) ;
799+ const reqHeaders = this . buildHeaders ( { options : inputOptions , method, bodyHeaders, retryCount } ) ;
800800
801801 const req : FinalizedRequestInit = {
802802 method,
You can’t perform that action at this time.
0 commit comments