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

Commit 57bfc6f

Browse files
committed
chore: update to match new linter expectations
1 parent c168780 commit 57bfc6f

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

src/agent/debuglet.ts

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,15 +1049,18 @@ export class Debuglet extends EventEmitter {
10491049
: now;
10501050
const expiryTime = createdTime + this.config.breakpointExpirationSec;
10511051

1052-
setTimeout(() => {
1053-
this.logger.info('Expiring breakpoint ' + breakpoint.id);
1054-
breakpoint.status = {
1055-
description: {format: 'The snapshot has expired'},
1056-
isError: true,
1057-
refersTo: StatusMessage.BREAKPOINT_AGE,
1058-
};
1059-
this.completeBreakpoint_(breakpoint);
1060-
}, (expiryTime - now) * 1000).unref();
1052+
setTimeout(
1053+
() => {
1054+
this.logger.info('Expiring breakpoint ' + breakpoint.id);
1055+
breakpoint.status = {
1056+
description: {format: 'The snapshot has expired'},
1057+
isError: true,
1058+
refersTo: StatusMessage.BREAKPOINT_AGE,
1059+
};
1060+
this.completeBreakpoint_(breakpoint);
1061+
},
1062+
(expiryTime - now) * 1000
1063+
).unref();
10611064
}
10621065

10631066
/**

0 commit comments

Comments
 (0)