Skip to content

Commit

Permalink
fix: append newline to manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
iorate committed May 6, 2024
1 parent 056b197 commit 9fd8353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export async function prepare(
);
}
manifest.version = nextRelease.version;
await fs.writeFile(manifestJsonPath, JSON.stringify(manifest, null, 2), 'utf8');
await fs.writeFile(manifestJsonPath, `${JSON.stringify(manifest, null, 2)}\n`, 'utf8');

logger.log('Archiving the add-on...');
await fs.mkdir(path.dirname(addonZipPath), { recursive: true });
Expand Down

0 comments on commit 9fd8353

Please sign in to comment.