MCPcopy Index your code
hub / github.com/devcontainers/cli / fail

Function fail

src/spec-node/featuresCLI/testCommandImpl.ts:20–23  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

18const TEST_LIBRARY_SCRIPT_NAME = 'dev-container-features-test-lib';
19
20function fail(msg: string) {
21 log(msg, { prefix: '[-]', error: true });
22 process.exit(1);
23}
24
25type Scenarios = { [key: string]: DevContainerConfig };
26type TestResult = { testName: string; result: boolean };

Callers 11

doFeaturesTestCommandFunction · 0.85
runGlobalFeatureTestsFunction · 0.85
readFeatureMetadataFunction · 0.85
runFeatureTestsFunction · 0.85
doRunAutoTestFunction · 0.85
doScenarioFunction · 0.85
analyzeTestResultsFunction · 0.85
launchProjectFunction · 0.85

Calls 1

logFunction · 0.85

Tested by

no test coverage detected