store/datas/commit.go: Fix unreachable code.

This commit is contained in:
Aaron Son
2022-03-17 09:30:00 -07:00
parent ce6aa6d921
commit be075c7cfb

View File

@@ -323,7 +323,6 @@ func GetCommitMeta(ctx context.Context, cv types.Value) (*CommitMeta, error) {
} else {
return nil, errors.New("GetCommitMeta: Commit had metadata field but it was not a Struct.")
}
return nil, nil
}
func GetCommitValue(ctx context.Context, cv types.Value) (types.Value, error) {