From d5f468ca6835acafee53b82fc6f52afe755fbff6 Mon Sep 17 00:00:00 2001 From: William Chargin Date: Mon, 30 Apr 2018 17:08:49 -0700 Subject: [PATCH] Fix Git plugin `NodePayload` definition (#176) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Flow didn’t catch this because all the payloads are `{}` anyway. Test Plan: Note that every node and edge payload is now listed exactly once in the correct spot for each of `{Node,Edge}{Type,Payload}`. wchargin-branch: git-nodepayload --- src/plugins/git/types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/git/types.js b/src/plugins/git/types.js index 3e87e90..264b5c5 100644 --- a/src/plugins/git/types.js +++ b/src/plugins/git/types.js @@ -44,7 +44,7 @@ export type NodePayload = | CommitNodePayload | TreeNodePayload | TreeEntryNodePayload - | HasContentsEdgePayload; + | BlobNodePayload; export type NodeType = | typeof COMMIT_NODE_TYPE