We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9245085 commit 1e2a649Copy full SHA for 1e2a649
lib/internal/dns/utils.js
@@ -196,14 +196,7 @@ function emitInvalidHostnameWarning(hostname) {
196
let dnsOrder = getOptionValue('--dns-result-order') || 'verbatim';
197
198
function getDefaultVerbatim() {
199
- switch (dnsOrder) {
200
- case 'verbatim':
201
- return true;
202
- case 'ipv4first':
203
- return false;
204
- default:
205
206
- }
+ return dnsOrder !== 'ipv4first';
207
}
208
209
function setDefaultResultOrder(value) {
0 commit comments