Skip to content

Commit f55d982

Browse files
authored
Merge pull request #1329 from github/aeisenberg/run-queries-message
Further massage the message after running remote queries
2 parents e10d2ae + befc2cd commit f55d982

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/ql-vscode/src/remote-queries/run-remote-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ export function parseResponse(owner: string, repo: string, response: QueriesResp
357357
}
358358
if (response.errors.repositories_without_database?.length) {
359359
logMessage += `${eol2}Repositories without databases:${eol}${response.errors.repositories_without_database.join(', ')}`;
360-
logMessage += `${eol}These repositories have been added to the database storage service and we will attempt to create a database for them next time the store is updated.`;
360+
logMessage += `${eol}For each public repository that has not yet been added to the database service, we will try to create a database next time the store is updated.`;
361361
}
362362
}
363363

extensions/ql-vscode/src/vscode-tests/no-workspace/remote-queries/run-remote-query.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('run-remote-query', () => {
8181
'',
8282
'Repositories without databases:',
8383
'e/f, g/h',
84-
'These repositories have been added to the database storage service and we will attempt to create a database for them next time the store is updated.'].join(os.EOL)
84+
'For each public repository that has not yet been added to the database service, we will try to create a database next time the store is updated.'].join(os.EOL)
8585
);
8686
});
8787

@@ -113,7 +113,7 @@ describe('run-remote-query', () => {
113113
'',
114114
'Repositories without databases:',
115115
'i/j, k/l',
116-
'These repositories have been added to the database storage service and we will attempt to create a database for them next time the store is updated.'].join(os.EOL)
116+
'For each public repository that has not yet been added to the database service, we will try to create a database next time the store is updated.'].join(os.EOL)
117117
);
118118
});
119119
});

0 commit comments

Comments
 (0)