fix(test): reject rpc rtt flag values

This commit is contained in:
Vincent Koc
2026-06-21 18:28:28 +02:00
parent d3c907193f
commit b83dce7b33
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ function usage() {
function readFlagValue(argv, index, flag) {
const value = argv[index + 1];
if (!value || value.startsWith("--")) {
if (!value || value.startsWith("-")) {
throw new Error(`${flag} requires a value.`);
}
return value;