Further massage the message after running remote queries
This commit is contained in:
@@ -357,7 +357,7 @@ export function parseResponse(owner: string, repo: string, response: QueriesResp
|
|||||||
}
|
}
|
||||||
if (response.errors.repositories_without_database?.length) {
|
if (response.errors.repositories_without_database?.length) {
|
||||||
logMessage += `${eol2}Repositories without databases:${eol}${response.errors.repositories_without_database.join(', ')}`;
|
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.`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ describe('run-remote-query', () => {
|
|||||||
'',
|
'',
|
||||||
'Repositories without databases:',
|
'Repositories without databases:',
|
||||||
'e/f, g/h',
|
'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:',
|
'Repositories without databases:',
|
||||||
'i/j, k/l',
|
'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)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user