@@ -49,7 +49,6 @@ export function formatTimePeriod(hours: number): string {
4949
5050interface TasksOutput {
5151 config : ApolloConfig ;
52- gitContext ?: GitContext ;
5352 checkSchemaResult : CheckSchema_service_checkSchema ;
5453 shouldOutputJson : boolean ;
5554 shouldOutputMarkdown : boolean ;
@@ -237,6 +236,7 @@ export default class ServiceCheck extends ProjectCommand {
237236 task . output = "Resolving schema" ;
238237
239238 const schema = await project . resolveSchema ( { tag } ) ;
239+ await gitInfo ( this . log ) ;
240240
241241 const historicParameters = validateHistoricParams ( {
242242 validationPeriod : flags . validationPeriod ,
@@ -254,12 +254,11 @@ export default class ServiceCheck extends ProjectCommand {
254254 // XXX Looks like TS should be generating ReadonlyArrays instead
255255 schema : introspectionFromSchema ( schema ) . __schema ,
256256 tag : flags . tag ,
257- gitContext : ctx . gitContext ,
257+ gitContext : await gitInfo ( this . log ) ,
258258 frontend : flags . frontend || config . engine . frontend ,
259259 ...( historicParameters && { historicParameters } )
260260 } ) ,
261261 config,
262- gitContext : await gitInfo ( this . log ) ,
263262 shouldOutputJson : ! ! flags . json ,
264263 shouldOutputMarkdown : ! ! flags . markdown
265264 } ;
@@ -355,7 +354,6 @@ export default class ServiceCheck extends ProjectCommand {
355354 }
356355
357356 const {
358- gitContext,
359357 checkSchemaResult,
360358 config,
361359 shouldOutputJson,
0 commit comments