fix(version): preserve package formatting
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ function getLockFile() {
|
|||||||
function writeVersions(version) {
|
function writeVersions(version) {
|
||||||
const pkg = readJson(packageFilePath);
|
const pkg = readJson(packageFilePath);
|
||||||
pkg.version = version;
|
pkg.version = version;
|
||||||
writeJson(packageFilePath, pkg, 2);
|
writeJson(packageFilePath, pkg, 4);
|
||||||
|
|
||||||
const lock = getLockFile();
|
const lock = getLockFile();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user