Skip to content

Commit 4cd2491

Browse files
committed
🤖 refactor: remove unused variable from EventCollector
The 'before' variable was previously used for debug logging but is no longer needed
1 parent 5df1cf8 commit 4cd2491

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/ipcMain/helpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ export class EventCollector {
235235
* Collect all events for this workspace from the sent events array
236236
*/
237237
collect(): WorkspaceChatMessage[] {
238-
const before = this.events.length;
239238
this.events = this.sentEvents
240239
.filter((e) => e.channel === this.chatChannel)
241240
.map((e) => e.data as WorkspaceChatMessage);

0 commit comments

Comments
 (0)