Skip to content

Commit a40e993

Browse files
ESLint directive
1 parent 7546ce6 commit a40e993

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/session.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,7 @@ class Session {
429429
if (origin) {
430430
try {
431431
err.response.origin = origin;
432-
}
433-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
434-
catch(e: any) {
432+
} catch(e: any) { // eslint-disable-line @typescript-eslint/no-unused-vars
435433
/* ignore */
436434
}
437435
}
@@ -441,9 +439,7 @@ class Session {
441439
if (origin) {
442440
try {
443441
err.origin = origin;
444-
}
445-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
446-
catch(e: any) {
442+
} catch(e: any) { // eslint-disable-line @typescript-eslint/no-unused-vars
447443
/* ignore */
448444
}
449445
}
@@ -623,8 +619,7 @@ class Session {
623619
const exp = new Date();
624620
exp.setTime(r.response ? r.response.authtokenexpiry : r.authtokenexpiry);
625621
this.authtokenexpiry = exp;
626-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
627-
} catch(e: any) {
622+
} catch(e: any) { // eslint-disable-line @typescript-eslint/no-unused-vars
628623
this.authtokenexpiry = undefined;
629624
}
630625
if (this.authtokenexpiry)

0 commit comments

Comments
 (0)