Further massage the message after running remote queries

This commit is contained in:
Andrew Eisenberg
2022-05-03 16:38:44 -07:00
parent e10d2aef8e
commit ef268e043f
2 changed files with 3 additions and 3 deletions

View File

@@ -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.`;
}
}

View File

@@ -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)
);
});
});