Experiments: fix edge case in experiment rollout detection (#3497)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
0e75d8a42f
commit
2f6dfd9bee
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: 'type:"user",revision',
|
find: 'type:"user",revision',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /!(\i)&&"CONNECTION_OPEN".+?;/g,
|
match: /!(\i)(?=&&"CONNECTION_OPEN")/,
|
||||||
replace: "$1=!0;"
|
replace: "!($1=true)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue