mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode: changed dns sanity-check url from google.com to example.com
This commit is contained in:
parent
5d39f6d3b2
commit
e709f113c1
1 changed files with 6 additions and 3 deletions
|
@ -105,10 +105,13 @@ export async function ensureLanguageServerBinary(
|
|||
`GitHub repository: ${err.message}`
|
||||
);
|
||||
|
||||
dns.resolve('www.google.com').then(
|
||||
addrs => console.log("DNS resolution was successful", addrs),
|
||||
dns.resolve('example.com').then(
|
||||
addrs => console.log("DNS resolution for example.com was successful", addrs),
|
||||
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);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue