You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a custom theme with jazzy v0.7.4 and Ruby v2.4.x results in a crash here:
/jazzy/lib/jazzy/config.rb:298:in `block in <class:Config>': unexpected return (LocalJumpError)
from /jazzy/lib/jazzy/config.rb:36:in `instance_exec'
from /jazzy/lib/jazzy/config.rb:36:in `set'
from /jazzy/lib/jazzy/config.rb:55:in `block in attach_to_option_parser'
from /usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/optparse.rb:1552:in `block in parse_in_order'
from /usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/optparse.rb:1538:in `catch'
from /usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/optparse.rb:1538:in `parse_in_order'
from /usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/optparse.rb:1532:in `order!'
from /usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/optparse.rb:1626:in `permute!'
from /usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/optparse.rb:1648:in `parse!'
from /jazzy/lib/jazzy/config.rb:383:in `parse_command_line'
from /jazzy/lib/jazzy/config.rb:340:in `parse!'
from /jazzy/bin/jazzy:15:in `<main>'
This is because newer versions of Ruby strictly disallow return from within a block, such as:
Using a custom theme with jazzy v0.7.4 and Ruby v2.4.x results in a crash here:
This is because newer versions of Ruby strictly disallow
return
from within a block, such as:/cc @1ec5
The text was updated successfully, but these errors were encountered: