MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / run

Function run

tooling/scripts/sidebar-vim-smoke.mjs:66–72  ·  view source on GitHub ↗
(command, args)

Source from the content-addressed store, hash-verified

64 }
65}
66function run(command, args) {
67 return new Promise((res, rej) => {
68 const child = spawn(command, args, { cwd: repoRoot, stdio: 'inherit', shell: process.platform === 'win32' })
69 child.on('exit', (code) => (code === 0 ? res() : rej(new Error(`${command} ${args.join(' ')} exited ${code}`))))
70 child.on('error', rej)
71 })
72}
73
74async function seedVault(root) {
75 const inbox = join(root, 'inbox')

Callers 1

prepareBuildFunction · 0.70

Calls 1

onMethod · 0.45

Tested by

no test coverage detected