MCPcopy Create free account
hub / github.com/GCWing/BitFun / run

Function run

BitFun-Installer/scripts/build-installer.cjs:51–58  ·  view source on GitHub ↗
(cmd, cwd = ROOT)

Source from the content-addressed store, hash-verified

49}
50
51function run(cmd, cwd = ROOT) {
52 log(`> ${cmd}`);
53 try {
54 execSync(cmd, { cwd, stdio: "inherit" });
55 } catch (_e) {
56 error(`Command failed: ${cmd}`);
57 }
58}
59
60function printHelpAndExit() {
61 console.log(`

Callers 1

Calls 2

logFunction · 0.85
errorFunction · 0.85

Tested by

no test coverage detected