MCPcopy
hub / github.com/aws-amplify/amplify-cli / error

Function error

packages/amplify-cli-npm/binary.ts:17–20  ·  view source on GitHub ↗
(msg: string | Error)

Source from the content-addressed store, hash-verified

15const pipeline = util.promisify(stream.pipeline);
16
17const error = (msg: string | Error): void => {
18 console.error(msg);
19 process.exit(1);
20};
21
22const supportedPlatforms = [
23 {

Callers 2

installMethod · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected