MCPcopy
hub / github.com/lissy93/web-check / isMissingBinary

Function isMissingBinary

api/trace-route.js:28–29  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

26 });
27
28const isMissingBinary = (err) =>
29 err?.code === 'ENOENT' || /command not found|not installed/i.test(err?.message || '');
30
31const traceRouteHandler = async (url) => {
32 const start = Date.now();

Callers 1

traceRouteHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected