zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

hcl status fails - undefined method [] for nil:NilClass #103

Open mhaeberli opened 2 years ago

mhaeberli commented 2 years ago

login: password: *** subdomain: xeus-m1:rubyonmac-prime mhaeberli$ hcl status Top level ::CompositeIO is deprecated, require 'multipart/post' and use Multipart::Post::CompositeReadIO instead! Top level ::Parts is deprecated, require 'multipart/post' and use Multipart::Post::Parts instead! /Library/Ruby/Gems/2.6.0/gems/faraday-0.17.5/lib/faraday/upload_io.rb:65: warning: constant ::UploadIO is deprecated /Library/Ruby/Gems/2.6.0/gems/faraday-0.17.5/lib/faraday/upload_io.rb:66: warning: constant ::Parts is deprecated /Library/Ruby/Gems/2.6.0/gems/hcl-0.4.20/lib/hcl/commands.rb:20:in status': undefined method[]' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/2.6.0/gems/hcl-0.4.20/lib/hcl/app.rb:49:in run' from /Library/Ruby/Gems/2.6.0/gems/hcl-0.4.20/lib/hcl/app.rb:28:incommand' from /Library/Ruby/Gems/2.6.0/gems/hcl-0.4.20/bin/hcl:4:in <top (required)>' from /usr/local/bin/hcl:23:inload' from /usr/local/bin/hcl:23:in `

'