Skip to content

Commit 63c94a1

Browse files
committed
Fix lint messages
1 parent be062f7 commit 63c94a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plugins/default/DuplicateCheckerPlugin.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class DuplicateCheckerPlugin implements IEventPlugin {
2828
let hashCode = 0;
2929

3030
while (error) {
31-
if (error.message && error.message.length){
31+
if (error.message && error.message.length) {
3232
hashCode += (hashCode * 397) ^ Utils.getHashCode(error.message);
3333
}
3434
if (error.stack_trace && error.stack_trace.length) {
@@ -54,19 +54,19 @@ export class DuplicateCheckerPlugin implements IEventPlugin {
5454
if (merged) {
5555
merged.incrementCount(count);
5656
merged.updateDate(context.event.date);
57-
context.log.info("Ignoring duplicate event with hash: " + hashCode);
57+
context.log.info('Ignoring duplicate event with hash: ' + hashCode);
5858
context.cancelled = true;
5959
return;
6060
}
6161

6262
if (this._processedHashcodes.some(h => h.hash === hashCode && h.timestamp >= (now - this._interval))) {
63-
context.log.info("Adding event with hash: " + hashCode);
63+
context.log.info('Adding event with hash: ' + hashCode);
6464
this._mergedEvents.push(new MergedEvent(hashCode, context, count));
6565
context.cancelled = true;
6666
return;
6767
}
6868

69-
context.log.info("Enqueueing event with hash: " + hashCode + "to cache.");
69+
context.log.info('Enqueueing event with hash: ' + hashCode + 'to cache.');
7070
this._processedHashcodes.push({ hash: hashCode, timestamp: now });
7171

7272
// Only keep the last 50 recent errors.

0 commit comments

Comments
 (0)