Skip to content

Commit 2a7dbe1

Browse files
committed
chore(event_manager): remove debug logging
1 parent ec18917 commit 2a7dbe1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lua/opencode/event_manager.lua

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,20 +257,13 @@ function EventManager:_on_drained_events(events)
257257
end
258258
end
259259

260-
local actually_emitted = 0
261-
262260
for i = 1, #events do
263261
local event = collapsed_events[i]
264262
if event then
265-
actually_emitted = actually_emitted + 1
266263
self:emit(event.type, event.properties)
267264
end
268265
end
269266

270-
if config.debug.enabled then
271-
vim.notify('Drained ' .. #events .. ', actually emitted: ' .. actually_emitted)
272-
end
273-
274267
self:emit('custom.emit_events.finished', {})
275268
end
276269

0 commit comments

Comments
 (0)