Skip to content

Commit

Permalink
fixup! fix (getAgent): add nullish check for uri
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjoeio committed Jun 28, 2021
1 parent ff639b9 commit 5336f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agents.ts
Expand Up @@ -29,7 +29,7 @@ export type HttpAnyAgent = HTTPAgent | HTTPSAgent;
* Returns a custom request Agent if one is found, otherwise returns undefined
* which will result in the global http(s) Agent being used.
* @private
* @param {string} uri The request uri
* @param {string|undefined} uri The request uri
* @param {Options} reqOpts The request options
* @returns {HttpAnyAgent|undefined}
*/
Expand Down

0 comments on commit 5336f33

Please sign in to comment.