File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ export class Transition implements IHookRegistry {
537
537
*/
538
538
redirect ( targetState : TargetState ) : Transition {
539
539
let redirects = 1 , trans : Transition = this ;
540
+ // tslint:disable-next-line:no-conditional-assignment
540
541
while ( ( trans = trans . redirectedFrom ( ) ) != null ) {
541
542
if ( ++ redirects > 20 ) throw new Error ( `Too many consecutive Transition redirects (20+)` ) ;
542
543
}
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ export class UrlMatcher {
262
262
263
263
let p : any , segment : string ;
264
264
265
+ // tslint:disable-next-line:no-conditional-assignment
265
266
while ( ( matchArray = placeholder . exec ( pattern ) ) ) {
266
267
p = matchDetails ( matchArray , false ) ;
267
268
if ( p . segment . indexOf ( '?' ) >= 0 ) break ; // we're into the search part
@@ -284,6 +285,7 @@ export class UrlMatcher {
284
285
if ( search . length > 0 ) {
285
286
last = 0 ;
286
287
288
+ // tslint:disable-next-line:no-conditional-assignment
287
289
while ( ( matchArray = searchPlaceholder . exec ( search ) ) ) {
288
290
p = matchDetails ( matchArray , true ) ;
289
291
checkParamErrors ( p . id ) ;
You can’t perform that action at this time.
0 commit comments