mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Append newline to avoid unnecessary back-and-forth changing
This commit is contained in:
parent
a4457e6a28
commit
b800db3393
@ -1,9 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
const os = require('os');
|
||||
const fs = require('fs');
|
||||
|
||||
const pkgJson = JSON.parse(fs.readFileSync('package.json'));
|
||||
|
||||
pkgJson.dependencies['@serverless/enterprise-plugin'] = 'next';
|
||||
|
||||
fs.writeFileSync('package.json', JSON.stringify(pkgJson, null, 2));
|
||||
fs.writeFileSync('package.json', JSON.stringify(pkgJson, null, 2) + os.EOL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user