mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
REPL shouldn't panic when it gets SIGINT (#2662)
This commit is contained in:
parent
bc12a3ba56
commit
55ca0f09cb
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ impl GetErrorKind for ReadlineError {
|
|||
match self {
|
||||
Io(err) => GetErrorKind::kind(err),
|
||||
Eof => ErrorKind::UnexpectedEof,
|
||||
Interrupted => ErrorKind::Interrupted,
|
||||
#[cfg(unix)]
|
||||
Errno(err) => err.kind(),
|
||||
_ => unimplemented!(),
|
||||
|
|
Loading…
Reference in a new issue