MCPcopy
hub / github.com/electron/forge / writeChanges

Function writeChanges

packages/api/core/src/api/import.ts:258–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 d('forgified scripts object:', packageJSON.scripts);
257
258 const writeChanges = async () => {
259 await fs.writeJson(
260 path.resolve(dir, 'package.json'),
261 packageJSON,
262 { spaces: 2 },
263 );
264 };
265
266 return task.newListr<{ pm: PMDetails }>(
267 [

Callers 1

import.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected