mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
Add newlines at end of generated files (#283)
This commit is contained in:
parent
ad8921950c
commit
d97e2e9d81
6 changed files with 17 additions and 8 deletions
|
@ -42,7 +42,7 @@ if (fs.existsSync(CWD + '/package.json')) {
|
|||
packageContent.scripts['rename-version'] = 'docusaurus-rename-version';
|
||||
fs.writeFileSync(
|
||||
CWD + '/package.json',
|
||||
JSON.stringify(packageContent, null, 2)
|
||||
JSON.stringify(packageContent, null, 2) + '\n'
|
||||
);
|
||||
console.log(
|
||||
`${chalk.green('Wrote docusaurus scripts to package.json file.')}\n`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue