fix(qa): reject short flag gateway smoke values

This commit is contained in:
Vincent Koc
2026-06-21 22:40:32 +02:00
parent 75a997dd7c
commit 3bae0d6b82
2 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ function validateArgs(argv: readonly string[]): void {
}
if (VALUE_FLAGS.has(arg)) {
const value = argv[index + 1];
if (!value || value.startsWith("--")) {
if (!value || value.startsWith("-")) {
throw new GatewaySmokeArgError(`${arg} requires a value`);
}
index += 1;