Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit d37c3c0

Browse files
committed
Use let instead of var
1 parent c214327 commit d37c3c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ export class KeycloakClient implements KeycloakInstance {
476476
this.onAuthRefreshSuccess && this.onAuthRefreshSuccess();
477477

478478
for (
479-
var p = this.refreshQueue.pop();
479+
let p = this.refreshQueue.pop();
480480
p != null;
481481
p = this.refreshQueue.pop()
482482
) {
@@ -490,7 +490,7 @@ export class KeycloakClient implements KeycloakInstance {
490490
this.onAuthRefreshError && this.onAuthRefreshError();
491491

492492
for (
493-
var p = this.refreshQueue.pop();
493+
let p = this.refreshQueue.pop();
494494
p != null;
495495
p = this.refreshQueue.pop()
496496
) {

0 commit comments

Comments
 (0)