Skip to content

Commit

Permalink
Fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsaayman committed Sep 5, 2021
1 parent 34c4e8d commit fac6c3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/adapters/http.js
Expand Up @@ -60,7 +60,6 @@ module.exports = function httpAdapter(config) {

// Set User-Agent (required by some servers)
// See https://github.com/axios/axios/issues/69

if ('User-Agent' in headers || 'user-agent' in headers) {
// User-Agent is specified; handle case where no UA header is desired
if (!headers['User-Agent'] && !headers['user-agent']) {
Expand Down

0 comments on commit fac6c3f

Please sign in to comment.