Skip to content

Commit 20fcce3

Browse files
committed
require 'debug' doesn't change SIGINT
`parse_config_value` only check String. ruby#148 (comment)
1 parent 8ff7519 commit 20fcce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/debug/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def self.config_to_env_hash config
6666
end
6767

6868
def self.parse_config_value name, valstr
69-
return nil if valstr == nil
69+
return valstr unless valstr.kind_of? String
7070

7171
case CONFIG_SET[name][2]
7272
when :bool

0 commit comments

Comments
 (0)