MCPcopy Index your code
hub / github.com/dendronhq/dendron / writeScript

Function writeScript

genScripts.js:194–198  ·  view source on GitHub ↗
(scriptPath, script)

Source from the content-addressed store, hash-verified

192}
193
194function writeScript(scriptPath, script) {
195 console.log(script);
196 fs.writeFileSync(scriptPath, script, "utf8");
197 fs.chmodSync(scriptPath, "700");
198}
199
200// === Main
201

Callers 5

generateBootstrapScriptFunction · 0.85
generateBuildScriptFunction · 0.85
generateWatchScriptFunction · 0.85
generateScraperScriptsFunction · 0.85
generateBackendScriptsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected