Skip to content

Commit f36d513

Browse files
committed
Added braces for the default block
1 parent ee115dd commit f36d513

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/batch/src/BatchProcessor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,12 @@ class BatchProcessor extends BasePartialBatchProcessor {
192192
}),
193193
});
194194
}
195-
default:
195+
default: {
196196
console.warn(
197197
`The event type provided is not supported. Supported events: ${Object.values(EventType).join(',')}`
198198
);
199199
throw new Error('Unsupported event type');
200+
}
200201
}
201202
}
202203

0 commit comments

Comments
 (0)