File tree Expand file tree Collapse file tree
script/enterprise-server-deprecations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const supportedEnterpriseVersions = Object.values(allVersions).filter(v => v.pla
2121
2222// webhooks and GraphQL
2323const supportedMiscVersions = supportedEnterpriseVersions . map ( v => v . miscVersionName )
24+ // The miscBaseName is the same for all GHES versions (currently `ghes-`), so we can just grab the first one
2425const miscBaseName = supportedEnterpriseVersions . map ( v => v . miscBaseName ) [ 0 ]
2526
2627; [ graphqlDataDir , graphqlStaticDir , webhooksStaticDir ] . forEach ( dir => {
@@ -29,6 +30,7 @@ const miscBaseName = supportedEnterpriseVersions.map(v => v.miscBaseName)[0]
2930
3031// REST
3132const supportedOpenApiVersions = supportedEnterpriseVersions . map ( v => v . openApiVersionName )
33+ // The openApiBaseName is the same for all GHES versions (currently `ghes-`), so we can just grab the first one
3234const openApiBaseName = supportedEnterpriseVersions . map ( v => v . openApiBaseName ) [ 0 ]
3335
3436; [ restDecoratedDir , restDereferencedDir ] . forEach ( dir => {
You can’t perform that action at this time.
0 commit comments