summaryrefslogtreecommitdiff
path: root/cli/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/repl.rs')
-rw-r--r--cli/repl.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/cli/repl.rs b/cli/repl.rs
index 1cc866a6f..b2ea32670 100644
--- a/cli/repl.rs
+++ b/cli/repl.rs
@@ -171,11 +171,10 @@ impl Validator for Helper {
left
))))
}
- (None, c) => {
- return Ok(ValidationResult::Invalid(Some(format!(
- "Mismatched pairs: {:?} is unpaired",
- c
- ))))
+ (None, _) => {
+ // While technically invalid when unpaired, it should be V8's task to output error instead.
+ // Thus marked as valid with no info.
+ return Ok(ValidationResult::Valid(None));
}
},
_ => {}