G-Node / G-Node/gin-cli

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

Open
#286 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.