Original PR: https://github.com/plashchynski/crono/pull/94 Author: @c4lliope Created: 3/15/2022 Status: ❌ Closed
Base: master ← Head: patch-1
master
patch-1
7faae13
1 file changed (+7 additions, -2 deletions)
📝 lib/crono/performer_proxy.rb (+7 -2)
lib/crono/performer_proxy.rb
For some reason, the argument destructuring *args is causing an error. Passing variables along manually helps the code run properly.
*args
[grace@chesapeake reap]$ bundle exec crono RAILS_ENV=development wrong number of arguments (given 2, expected 1) /home/grace/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/crono-1.1.2/lib/crono/period.rb:7:in `initialize' /home/grace/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/crono-1.1.2/lib/crono/performer_proxy.rb:11:in `new' /home/grace/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/crono-1.1.2/lib/crono/performer_proxy.rb:11:in `every' /home/grace/Desktop/assembled.app/reap/config/cronotab.rb:14:in `<main>'
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/plashchynski/crono/pull/94
Author: @c4lliope
Created: 3/15/2022
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
7faae13Repair "wrong number of arguments" error.📊 Changes
1 file changed (+7 additions, -2 deletions)
View changed files
📝
lib/crono/performer_proxy.rb(+7 -2)📄 Description
For some reason, the argument destructuring
*argsis causing an error.Passing variables along manually helps the code run properly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.