drazisil / ghi

GitHub Issues on the command line. Use your $EDITOR, not your browser.
Other
12 stars 7 forks source link

#11 Explicitly cast the issue number to an integer #15

Closed Farmerjoe12 closed 5 years ago

Farmerjoe12 commented 5 years ago

I believe I've found the location where issue numbers retrieved from the arg-string, so I've casted it to an integer. However, there were some side effects with this change which I assume came from running rake build. I only changed one line in command.rb, but ghi changed as well.

I tested this change against a test repository by inserting print statements around the definition and retrieval of the issue number to print the type of '@issue'.

drazisil commented 5 years ago

Should fix #11