Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils/fetch: support options.agent being a boolean. #2300

Merged
merged 1 commit into from
May 31, 2022

Commits on May 31, 2022

  1. utils/fetch: support options.agent being a boolean.

    node-fetch/node-fetch#1502 changed the type of
    options.agent to allow a boolean, which caused issues as we tried to call
    it.  Flip the condition around and check for function instead, so that this
    compiles.
    
    Signed-off-by: Mark Yen <mark.yen@suse.com>
    mook-as committed May 31, 2022
    Configuration menu
    Copy the full SHA
    08fae06 View commit details
    Browse the repository at this point in the history