JacobEvelyn / friends

Spend time with the people you care about. Introvert-tested. Extrovert-approved.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined method error occurred when "remove tag" is executed with no arguments

m-t-a-n-a-k-a opened this issue · comments

VERSION
0.51(ruby 2.6.0)

SUMMARY
When "remove tag" is executed with no arguments, the following error messages are output.

$friends remove tag
Error: undefined method `strip' for nil:NilClass

When "remove nickname”, the error messages are as below.

$friends remove nickname
Error: No friend found for ""

I think it would be better to output "Error: No friend found for" message in the case of "remove tag" as well. 👍

Great catch! Thank you for finding this (and sorry for the slow response)! ❤️

Thanks so much for fixing this, @m-t-a-n-a-k-a! Your fix is now released in version 0.52! 🎉