Experiments: fix edge case in experiment rollout detection (#3497)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Etorix 2025-07-04 07:09:10 -07:00 committed by GitHub
parent 310d8e6140
commit 643122e323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,8 +68,8 @@ export default definePlugin({
{
find: 'type:"user",revision',
replacement: {
match: /!(\i)&&"CONNECTION_OPEN".+?;/g,
replace: "$1=!0;"
match: /!(\i)(?=&&"CONNECTION_OPEN")/,
replace: "!($1=true)"
}
},
{