MCPcopy Create free account
hub / github.com/SBoudrias/Inquirer.js / execute

Method execute

tools/package/src/normalize/command.ts:12–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 });
11
12 override async execute() {
13 try {
14 const fixups = await normalizeManifests();
15
16 for (const fixup of fixups) {
17 this.context.stdout.write(
18 `[fixed] ${fixup.name}: removed workspace dev dependency ${fixup.dependencyName}.\n`,
19 );
20 }
21
22 return 0;
23 } catch (error: unknown) {
24 this.context.stderr.write(
25 `${error instanceof Error ? error.message : String(error)}\n`,
26 );
27 return 1;
28 }
29 }
30}

Callers

nothing calls this directly

Calls 2

normalizeManifestsFunction · 0.90
writeMethod · 0.80

Tested by

no test coverage detected