mirror of
https://github.com/docker/docs.git
synced 2026-11-14 04:50:52 +03:00
Fixed bug where error would not show if fetching recommended repos failed
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = {
|
||||
recommended: function () {
|
||||
request.get('https://kitematic.com/recommended.json', (error, response, body) => {
|
||||
if (error) {
|
||||
repositoryServerActions.recommendedError({error});
|
||||
repositoryServerActions.error({error});
|
||||
}
|
||||
|
||||
let data = JSON.parse(body);
|
||||
|
||||
Reference in New Issue
Block a user