MCPcopy Create free account
hub / github.com/anus-dev/ANUS / writeJson

Function writeJson

scripts/version.js:23–25  ·  view source on GitHub ↗
(filePath, data)

Source from the content-addressed store, hash-verified

21}
22
23function writeJson(filePath, data) {
24 writeFileSync(filePath, JSON.stringify(data, null, 2) + '\n');
25}
26
27// 1. Get the version type from the command line arguments.
28const versionType = process.argv[2];

Callers 1

version.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected