1
0
Fork 0
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:
Ryan Dahl 2019-07-18 15:01:15 -04:00 committed by GitHub
parent bc12a3ba56
commit 55ca0f09cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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!(),