MCPcopy Create free account
hub / github.com/netlify/cli / asyncErrorBlock

Function asyncErrorBlock

tests/integration/commands/dev/dev-miscellaneous.test.ts:1446–1453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1444 .build()
1445
1446 const asyncErrorBlock = async () => {
1447 const childProcess = execa(
1448 cliPath,
1449 ['dev', '--offline'],
1450 getExecaOptions({ cwd: builder.directory, env: { CI: 'true' } }),
1451 )
1452 await childProcess
1453 }
1454
1455 try {
1456 await asyncErrorBlock()

Callers 1

Calls 1

getExecaOptionsFunction · 0.85

Tested by

no test coverage detected