MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / portableMutationAction

Function portableMutationAction

pkg/npm/bin.js:46–54  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

44}
45
46function portableMutationAction(args) {
47 for (const argument of args) {
48 if (['cli', 'hook-augment', 'config', 'install', '--help', '-h', '--version'].includes(argument)) {
49 return null;
50 }
51 if (argument === 'update' || argument === 'uninstall') return argument;
52 }
53 return null;
54}
55
56const result = spawnSync(executionPath, process.argv.slice(2), {
57 stdio: 'inherit',

Callers 1

bin.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected