diff --git a/frontend/scripts/renderer-benchmarks.js b/frontend/scripts/renderer-benchmarks.js index 336015e91b..109820f518 100644 --- a/frontend/scripts/renderer-benchmarks.js +++ b/frontend/scripts/renderer-benchmarks.js @@ -82,7 +82,7 @@ export function readOptions(argv) { .map((token) => token.trim()) .filter(Boolean); for (const token of featureList) { - if (!/^[a-z0-9-]+$/.test(token)) + if (!/^[a-z0-9-_]+$/.test(token)) throw new Error(`Invalid --features token: ${token}`); } const features = [...new Set(featureList)].sort();