vscode: changed dns sanity-check url from google.com to example.com
This commit is contained in:
@@ -105,10 +105,13 @@ export async function ensureLanguageServerBinary(
|
|||||||
`GitHub repository: ${err.message}`
|
`GitHub repository: ${err.message}`
|
||||||
);
|
);
|
||||||
|
|
||||||
dns.resolve('www.google.com').then(
|
dns.resolve('example.com').then(
|
||||||
addrs => console.log("DNS resolution was successful", addrs),
|
addrs => console.log("DNS resolution for example.com was successful", addrs),
|
||||||
err => {
|
err => {
|
||||||
console.error("DNS resolution failed, there might be an issue with Internet availability");
|
console.error(
|
||||||
|
"DNS resolution for example.com failed, " +
|
||||||
|
"there might be an issue with Internet availability"
|
||||||
|
);
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user