MCPcopy
hub / github.com/yeoman/yo / onError

Function onError

lib/cli.js:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112const onError = error => {
113 console.error('Error', process.argv.slice(2).join(' '), '\n');
114 console.error(firstCmd.opts.debug ? error.stack : error.message);
115 process.exit(error.code || 1);
116};
117
118async function init() {
119 const {createEnv} = await import('yeoman-environment');

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…