diff options
Diffstat (limited to 'lib/reline')
-rw-r--r-- | lib/reline/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/config.rb b/lib/reline/config.rb index 1415a39194..760777997e 100644 --- a/lib/reline/config.rb +++ b/lib/reline/config.rb @@ -119,7 +119,7 @@ class Reline::Config @if_stack = [] lines.each_with_index do |line, no| - next if line.start_with?('#') + next if line.match(/\A\s*#/) no += 1 |