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 GitObjectJSON =
|
||||
| {|+__typename: "COMMIT", +history: ConnectionJSON<CommitJSON>|}
|
||||
| {|+__typename: "TREE"|}
|
||||
| {|+__typename: "BLOB"|}
|
||||
| {|+__typename: "TAG"|};
|
||||
| {|+__typename: "Commit", +history: ConnectionJSON<CommitJSON>|}
|
||||
| {|+__typename: "Tree"|}
|
||||
| {|+__typename: "Blob"|}
|
||||
| {|+__typename: "Tag"|};
|
||||
|
||||
/**
|
||||
* The top-level GitHub query to request data about a repository.
|
||||
|
|
|
@ -327,8 +327,6 @@ export class RelationalView {
|
|||
number: String(json.number),
|
||||
repo,
|
||||
};
|
||||
// TODO(@decentralion): Rewrite so that pulls actually have
|
||||
// the commit attached (not just oid)
|
||||
const mergedAs =
|
||||
json.mergeCommit == null ? null : this._addCommit(json.mergeCommit);
|
||||
|
||||
|
|
Loading…
Reference in New Issue