Skip to content

Commit

Permalink
don't call response.body because the response is the body now
Browse files Browse the repository at this point in the history
  • Loading branch information
strmer15 committed Nov 3, 2023
1 parent 83433ff commit 2b4404d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function searchMatchingGenerators(app, term, cb) {

got('http://yeoman.io/blacklist.json')
.json()
.then(response => handleDenyList(response.body))
.then(response => handleDenyList(response))
.catch(() => handleDenyList([]));
}

Expand Down

0 comments on commit 2b4404d

Please sign in to comment.