Skip to content

Commit

Permalink
update got to v11
Browse files Browse the repository at this point in the history
  • Loading branch information
strmer15 committed Nov 3, 2023
1 parent 1390d64 commit 83433ff
Show file tree
Hide file tree
Showing 3 changed files with 1,240 additions and 2,329 deletions.
3 changes: 2 additions & 1 deletion lib/routes/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ function searchMatchingGenerators(app, term, cb) {
}, cb);
}

got('http://yeoman.io/blacklist.json', {json: true})
got('http://yeoman.io/blacklist.json')
.json()
.then(response => handleDenyList(response.body))
.catch(() => handleDenyList([]));
}
Expand Down
Loading

0 comments on commit 83433ff

Please sign in to comment.