diff options
author | aycabta <aycabta@gmail.com> | 2019-11-18 03:23:45 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-11-18 03:23:45 +0900 |
commit | 7c6bedfe5c8a3a36d79bdc63f04d7ccb0a82234e (patch) | |
tree | a0344834f91db47d7e017b22551083735c4bd28d | |
parent | e7c5c60095537dabda7be5102ae66bd39a1ad133 (diff) | |
download | bundler-7c6bedfe5c8a3a36d79bdc63f04d7ccb0a82234e.tar.gz |
Remove unnecessary check
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 8071080ccf..55a5faf82f 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -766,7 +766,7 @@ class Reline::LineEditor end def input_key(key) - if key.nil? or key.char.nil? + if key.char.nil? if @first_char @line = nil end |