@lorekit/cli 1.29.1 → 1.29.2
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.
- package/package.json +1 -1
- package/src/doctor.mjs +5 -5
package/package.json
CHANGED
package/src/doctor.mjs
CHANGED
|
@@ -268,11 +268,11 @@ async function checkRemote(control, root, args, record) {
|
|
|
268
268
|
if (res.networkError) {
|
|
269
269
|
record('fail', 'connectivity', res.networkError);
|
|
270
270
|
} else if (res.ok) {
|
|
271
|
-
|
|
272
|
-
//
|
|
273
|
-
// is a statement about the network path
|
|
274
|
-
// `authentication` check below.
|
|
275
|
-
record('pass', 'connectivity',
|
|
271
|
+
// Say what the probe actually proved. `ping()` hits the PUBLIC `/health`
|
|
272
|
+
// function and returns only `{ ok, httpStatus }` — never a tool list — so
|
|
273
|
+
// "reachable" is a statement about the network path alone. The token itself
|
|
274
|
+
// is judged by the `authentication` check below.
|
|
275
|
+
record('pass', 'connectivity', 'reachable (public health probe — token not checked)');
|
|
276
276
|
} else if (res.error && AUTH_CODES.has(res.error.code)) {
|
|
277
277
|
record('fail', 'connectivity', `auth rejected (${res.error.code}) — check your token`);
|
|
278
278
|
} else if (res.error) {
|