Apply suggestions from code review

Co-authored-by: Robert <robertbrignull@github.com>
This commit is contained in:
Andrew Eisenberg
2022-05-04 07:46:53 -07:00
committed by GitHub
parent ef268e043f
commit befc2cddd2
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}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.`;
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',
'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)
'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',
'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)
'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)
);
});
});