MCPcopy Create free account
hub / github.com/MisterBooo/LeetCodeAnimation / sh

Function sh

tools/scripts/review-site-changes.js:27–33  ·  view source on GitHub ↗
(command, commandArgs, options = {})

Source from the content-addressed store, hash-verified

25const manifestFile = path.join(ROOT, "docs/data/manifest.json");
26
27function sh(command, commandArgs, options = {}) {
28 try {
29 return execFileSync(command, commandArgs, { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"], ...options }).trim();
30 } catch (error) {
31 return "";
32 }
33}
34
35function readProblems(file) {
36 const source = fs.readFileSync(file, "utf8");

Callers 1

siteStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected