From ef268e043ffdb56e802fb16e299a2c3abba5c35d Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 3 May 2022 16:38:44 -0700 Subject: [PATCH] Further massage the message after running remote queries --- extensions/ql-vscode/src/remote-queries/run-remote-query.ts | 2 +- .../no-workspace/remote-queries/run-remote-query.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/ql-vscode/src/remote-queries/run-remote-query.ts b/extensions/ql-vscode/src/remote-queries/run-remote-query.ts index 2ef93fd67..77b94aa96 100644 --- a/extensions/ql-vscode/src/remote-queries/run-remote-query.ts +++ b/extensions/ql-vscode/src/remote-queries/run-remote-query.ts @@ -357,7 +357,7 @@ export function parseResponse(owner: string, repo: string, response: QueriesResp } if (response.errors.repositories_without_database?.length) { logMessage += `${eol2}Repositories without databases:${eol}${response.errors.repositories_without_database.join(', ')}`; - 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.`; + logMessage += `${eol}For each public repository that has not yet been added to the database service to, we will try to create a database next time the store is updated.`; } } diff --git a/extensions/ql-vscode/src/vscode-tests/no-workspace/remote-queries/run-remote-query.test.ts b/extensions/ql-vscode/src/vscode-tests/no-workspace/remote-queries/run-remote-query.test.ts index 6be1f6ccf..34732379c 100644 --- a/extensions/ql-vscode/src/vscode-tests/no-workspace/remote-queries/run-remote-query.test.ts +++ b/extensions/ql-vscode/src/vscode-tests/no-workspace/remote-queries/run-remote-query.test.ts @@ -81,7 +81,7 @@ describe('run-remote-query', () => { '', 'Repositories without databases:', 'e/f, g/h', - '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) + 'For each public repository that has not yet been added to the database service to, we will try to create a database next time the store is updated.'].join(os.EOL) ); }); @@ -113,7 +113,7 @@ describe('run-remote-query', () => { '', 'Repositories without databases:', 'i/j, k/l', - '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) + 'For each public repository that has not yet been added to the database service to, we will try to create a database next time the store is updated.'].join(os.EOL) ); }); });