G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

Add default if Type is somehow neither "blob" nor "tree" #286

Open achilleas-k opened 4 years ago

achilleas-k commented 4 years ago

Although the objects should only be "blob" or "tree", having a default/else fallback could catch bugs.

_Originally posted by @mpsonntag in https://github.com/G-Node/gin-cli/pull/282#discussion_r372915205_