fix: console assert only logs when arg 0 is falsy (#1530)

* fix: console assert only logs when arg 0 is falsy
This commit is contained in:
Paul D'Ambra
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 83e8dd8ab7
commit e1632d69c6
4 changed files with 53 additions and 36 deletions

View File

@@ -0,0 +1,5 @@
---
"@rrweb/rrweb-plugin-console-record": patch
---
corrects behaviour of console.assert logging to only capture logs when the provided assertion is falsey