Skip to content

Commit bac8bfe

Browse files
committed
Small test
1 parent d0ee43c commit bac8bfe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/handle.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ const handleEvent = async function({
4747
}
4848

4949
const logEvent = async function({ opts, info }) {
50+
if (Math.random() < 2) {
51+
return
52+
}
53+
5054
const colors = getColors({ opts })
5155
const level = getLevel({ opts, info })
5256
const message = getMessage({ opts, info, level, colors })

0 commit comments

Comments
 (0)