forked from jcoglan/svn2git
-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Description
What happend
The following error is sometimes returned and the tool crash:
private method 'chomp' called for nil:NilClass (NoMethodError)
Why
This is triggered by this line:
svn2git/lib/svn2git/migration.rb
Line 405 in 6dac85a
loop { @stdin_queue << $stdin.gets.chomp } |
gets
may return a string
or nil
according to the documentation: https://ruby-doc.org/core-3.1.1/Kernel.html#method-i-gets
nil
does not have a chomp
method and trigger the error (with a crash).
Metadata
Metadata
Assignees
Labels
No labels