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 {
786
786
}
787
787
788
788
buildRequest (
789
- options : FinalRequestOptions ,
789
+ inputOptions : FinalRequestOptions ,
790
790
{ retryCount = 0 } : { retryCount ?: number } = { } ,
791
791
) : { req : FinalizedRequestInit ; url : string ; timeout : number } {
792
- options = { ...options } ;
792
+ const options = { ...inputOptions } ;
793
793
const { method, path, query } = options ;
794
794
795
795
const url = this . buildURL ( path ! , query as Record < string , unknown > ) ;
796
796
if ( 'timeout' in options ) validatePositiveInteger ( 'timeout' , options . timeout ) ;
797
797
options . timeout = options . timeout ?? this . timeout ;
798
798
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 } ) ;
800
800
801
801
const req : FinalizedRequestInit = {
802
802
method,
You can’t perform that action at this time.
0 commit comments