We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
false
Currently , the agent type is:
agent
got/source/core/options.ts
Lines 44 to 48 in 23b2f26
as you can see, false is a valid type, but when i set agent to false, it throws an error!
Lines 1136 to 1146 in 23b2f26
Can't set agent when agent type is false
change type declare (maybe remove false type?) or just make false as a valid type when set agent, I think the latter would be better.
// just set agent to false.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Currently , the
agent
type is:got/source/core/options.ts
Lines 44 to 48 in 23b2f26
as you can see,
false
is a valid type, but when i set agent to false, it throws an error!got/source/core/options.ts
Lines 1136 to 1146 in 23b2f26
Actual behavior
Can't set agent when agent type is
false
Expected behavior
change type declare (maybe remove
false
type?) or just makefalse
as a valid type when set agent, I think the latter would be better.Code to reproduce
// just set agent to false.
Checklist
The text was updated successfully, but these errors were encountered: