Merge pull request #1329 from github/aeisenberg/run-queries-message

Further massage the message after running remote queries
This commit is contained in:
Andrew Eisenberg
2022-05-04 08:03:04 -07:00
committed by GitHub
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, 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, 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, we will try to create a database next time the store is updated.'].join(os.EOL)
);
});
});