(graphqlVersion)
| 149 | // given a GraphQL version like `ghes-2.22`, return `ghes`; |
| 150 | // given a GraphQL version like `ghae` or `dotcom`, return as is |
| 151 | function getVersionType(graphqlVersion) { |
| 152 | return graphqlVersion.split('-')[0] |
| 153 | } |
| 154 | |
| 155 | async function updateFile(filepath, content) { |
| 156 | console.log(`fetching latest data to ${filepath}`) |
no outgoing calls
no test coverage detected