@@ -308,7 +308,6 @@ export async function runRemoteQuery(
308308 }
309309
310310 const remoteQuery = await buildRemoteQueryEntity (
311- repositories ,
312311 queryFile ,
313312 queryMetadata ,
314313 owner ,
@@ -395,7 +394,6 @@ async function ensureNameAndSuite(queryPackDir: string, packRelativePath: string
395394}
396395
397396async function buildRemoteQueryEntity (
398- repositories : string [ ] ,
399397 queryFilePath : string ,
400398 queryMetadata : QueryMetadata | undefined ,
401399 controllerRepoOwner : string ,
@@ -407,11 +405,6 @@ async function buildRemoteQueryEntity(
407405 // The query name is either the name as specified in the query metadata, or the file name.
408406 const queryName = queryMetadata ?. name ?? path . basename ( queryFilePath ) ;
409407
410- const queryRepos = repositories . map ( r => {
411- const [ owner , repo ] = r . split ( '/' ) ;
412- return { owner : owner , name : repo } ;
413- } ) ;
414-
415408 const queryText = await fs . readFile ( queryFilePath , 'utf8' ) ;
416409
417410 return {
@@ -423,7 +416,6 @@ async function buildRemoteQueryEntity(
423416 owner : controllerRepoOwner ,
424417 name : controllerRepoName ,
425418 } ,
426- repositories : queryRepos ,
427419 executionStartTime : queryStartTime ,
428420 actionsWorkflowRunId : workflowRunId
429421 } ;
0 commit comments