(nameWithOwner, data)
| 26 | ` |
| 27 | |
| 28 | function getNode(nameWithOwner, data) { |
| 29 | var tool; |
| 30 | data.allMdx.edges.forEach((edge) => { |
| 31 | const tools = edge.node.fields.gitHubTools; |
| 32 | tools.forEach((_tool) => { |
| 33 | if (_tool.nameWithOwner === nameWithOwner) { |
| 34 | tool = _tool; |
| 35 | } |
| 36 | }); |
| 37 | }); |
| 38 | return tool; |
| 39 | } |
| 40 | |
| 41 | export default GitHub |
no outgoing calls
no test coverage detected