MCPcopy Create free account
hub / github.com/mscdex/ssh2 / failMsg

Function failMsg

test/test-protocol-keyparser.js:13–19  ·  view source on GitHub ↗
(name, message, exit)

Source from the content-addressed store, hash-verified

11const BASE_PATH = `${__dirname}/fixtures/keyParser`;
12
13function failMsg(name, message, exit) {
14 const msg = `[${name}] ${message}`;
15 if (!exit)
16 return msg;
17 console.error(msg);
18 process.exit(1);
19}
20
21readdirSync(BASE_PATH).forEach((name) => {
22 if (/\.result$/i.test(name))

Callers 1

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…