MCPcopy Create free account
hub / github.com/angular/dev-infra / validateBoundary

Function validateBoundary

github-actions/saucelabs/set-saucelabs-env.js:5348–5360  ·  view source on GitHub ↗
(boundary)

Source from the content-addressed store, hash-verified

5346 }
5347 [nodeUtil.inspect.custom](depth, options) {
5348 var _a2, _b;
5349 const state = this[kState].reduce((a, b) => {
5350 if (a[b.name]) {
5351 if (Array.isArray(a[b.name])) {
5352 a[b.name].push(b.value);
5353 } else {
5354 a[b.name] = [a[b.name], b.value];
5355 }
5356 } else {
5357 a[b.name] = b.value;
5358 }
5359 return a;
5360 }, { __proto__: null });
5361 (_a2 = options.depth) != null ? _a2 : options.depth = depth;
5362 (_b = options.colors) != null ? _b : options.colors = true;
5363 const output = nodeUtil.formatWithOptions(options, state);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected