Skip to content

Commit

Permalink
fix(bld): JSON.stringify the updated manifest.json before writing to …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
ayushmanchhabra committed Nov 1, 2024
1 parent 9de5b19 commit a4dcbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bld.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function bld({
/* Set `product_string` in manifest for MacOS. This is used in renaming the Helper apps. */
if (platform === 'osx') {
manifest.json.product_string = app.name;
await fs.promises.writeFile(manifest.path, manifest.json);
await fs.promises.writeFile(manifest.path, JSON.stringify(manifest.json));
}

if (glob) {
Expand Down

0 comments on commit a4dcbe4

Please sign in to comment.