@salesforce/core 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,8 +61,9 @@ class MyDomainResolver extends kit_1.AsyncOptionalCreatable {
|
|
|
61
61
|
* executing the dns loookup.
|
|
62
62
|
*/
|
|
63
63
|
async resolve() {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
const env = new kit_1.Env();
|
|
65
|
+
if (env.getBoolean('SF_DISABLE_DNS_CHECK', env.getBoolean('SFDX_DISABLE_DNS_CHECK', false))) {
|
|
66
|
+
this.logger.debug('SF_DISABLE_DNS_CHECK set to true. Skipping DNS check...');
|
|
66
67
|
return this.options.url.host;
|
|
67
68
|
}
|
|
68
69
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|