MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / errout

Function errout

services.ts:4119–4128  ·  view source on GitHub ↗
(message:string, stdout:string)

Source from the content-addressed store, hash-verified

4117 }
4118 },
4119 errout = function node_apps_simulation_errout(message:string, stdout:string) {
4120 apps.errout([
4121 `Simulation test string ${text.angry + tests[a].command + text.none} ${message}:`,
4122 tests[a].test,
4123 "",
4124 "",
4125 `${text.green}Actual output:${text.none}`,
4126 stdout
4127 ]);
4128 },
4129 wrapper = function node_apps_simulation_wrapper():void {
4130 node.child(`node js/services ${tests[a].command}`, {cwd: cwd, maxBuffer: 2048 * 500}, function node_apps_simulation_wrapper_child(errs:nodeError, stdout:string, stderror:string|Buffer) {
4131 if (tests[a].artifact === "" || tests[a].artifact === undefined) {

Callers 1

wrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected