Skip to content

Commit 830b939

Browse files
committed
chore(scripts): added line break to package.json rewrite
1 parent 1b5ff7b commit 830b939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/verify-package-json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ const fs = require('fs');
99
const jsonPath = path.resolve(__dirname, '../package.json');
1010
const json = JSON.parse(fs.readFileSync(jsonPath) + '');
1111
json.main = './dist/cjs/index.js';
12-
fs.writeFileSync(jsonPath, JSON.stringify(json, null, 2));
12+
fs.writeFileSync(jsonPath, JSON.stringify(json, null, 2) + '\n');
1313
})();

0 commit comments

Comments
 (0)