MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / read

Function read

scripts/pre-release.mjs:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 */
34actions.updatePackageJson = {
35 async read() {
36 return JSON.stringify(
37 { ...pkgjson, version: newver },
38 null, '\t'
39 );
40 },
41 async write(json) {
42 return writeFile(FILES.pkgjson, json);
43 },

Callers 1

pre-release.mjsFile · 0.85

Calls 3

getNewLogFunction · 0.85
getOldLogFunction · 0.85
stringifyMethod · 0.80

Tested by

no test coverage detected