Skip to content

Getting lots of warning when running zold #787

Description

@victornoel

Describe the bug

Everytime I run zold, its output always starts with:

/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop.rb:23: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:27: warning: The called method `initialize' is defined here
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:32: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/parser.rb:13: warning: The called method `initialize' is defined here
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:85: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:51: warning: The called method `on' is defined here
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/options.rb:55: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/victor/.gem/ruby/2.7.0/gems/slop-4.6.2/lib/slop/option.rb:30: warning: The called method `initialize' is defined here

To Reproduce
Steps to reproduce the behaviour:

  1. install zold with ruby 2.7.0 gem install zold
  2. run zold zold --help

Expected behavior

No warnings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions