mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-20 16:28:26 +00:00
Cleanup some minor mistakes (#822)
- the capitalization of the GitObject types was incorrect - removed an outdated TODO Test plan: `yarn test` passes.
This commit is contained in:
parent
2a39bd075d
commit
5c46636611
@ -116,10 +116,10 @@ export type RepositoryJSON = {|
|
|||||||
|
|
||||||
export type RefJSON = {|+target: GitObjectJSON|};
|
export type RefJSON = {|+target: GitObjectJSON|};
|
||||||
export type GitObjectJSON =
|
export type GitObjectJSON =
|
||||||
| {|+__typename: "COMMIT", +history: ConnectionJSON<CommitJSON>|}
|
| {|+__typename: "Commit", +history: ConnectionJSON<CommitJSON>|}
|
||||||
| {|+__typename: "TREE"|}
|
| {|+__typename: "Tree"|}
|
||||||
| {|+__typename: "BLOB"|}
|
| {|+__typename: "Blob"|}
|
||||||
| {|+__typename: "TAG"|};
|
| {|+__typename: "Tag"|};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The top-level GitHub query to request data about a repository.
|
* The top-level GitHub query to request data about a repository.
|
||||||
|
@ -327,8 +327,6 @@ export class RelationalView {
|
|||||||
number: String(json.number),
|
number: String(json.number),
|
||||||
repo,
|
repo,
|
||||||
};
|
};
|
||||||
// TODO(@decentralion): Rewrite so that pulls actually have
|
|
||||||
// the commit attached (not just oid)
|
|
||||||
const mergedAs =
|
const mergedAs =
|
||||||
json.mergeCommit == null ? null : this._addCommit(json.mergeCommit);
|
json.mergeCommit == null ? null : this._addCommit(json.mergeCommit);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user