MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / summarizeError

Function summarizeError

scripts/integration/cli.mjs:1075–1081  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

1073}
1074
1075function summarizeError(error) {
1076 return String(error?.message ?? error)
1077 .split("\n")
1078 .filter(Boolean)
1079 .slice(0, 3)
1080 .join(" | ");
1081}
1082
1083function cliArgs(args) {
1084 return args;

Callers 2

ensureFixtureForegroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected