File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ export class PendingInterceptorService implements HttpInterceptor {
3030 return this . _filteredUrlPatterns ;
3131 }
3232
33- private shouldBypass ( url : string ) : boolean {
33+ private shouldBypassUrl ( url : string ) : boolean {
3434 return this . _filteredUrlPatterns . some ( e => {
3535 return e . test ( url ) ;
3636 } ) ;
3737 }
3838
3939 intercept ( req : HttpRequest < any > , next : HttpHandler ) : Observable < HttpEvent < any > > {
40- const shouldBypass = this . shouldBypass ( req . urlWithParams ) ;
40+ const shouldBypassUrl = this . shouldBypassUrl ( req . urlWithParams ) ;
4141
42- if ( ! shouldBypass ) {
42+ if ( ! shouldBypassUrl ) {
4343 this . _pendingRequests ++ ;
4444
4545 if ( 1 === this . _pendingRequests ) {
@@ -55,7 +55,7 @@ export class PendingInterceptorService implements HttpInterceptor {
5555 return throwError ( error ) ;
5656 } ) ,
5757 finalize ( ( ) => {
58- if ( ! shouldBypass ) {
58+ if ( ! shouldBypassUrl ) {
5959 this . _pendingRequests -- ;
6060
6161 if ( 0 === this . _pendingRequests ) {
You can’t perform that action at this time.
0 commit comments