mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
chore(package): json stringify indent
This commit is contained in:
@ -249,7 +249,7 @@ function updatePackageVersion(tasks, package, version) {
|
||||
const pkgLockData = JSON.parse(fs.readFileSync(pkgLock, 'utf-8'));
|
||||
pkgLockData.version = version;
|
||||
|
||||
fs.writeFileSync(pkgLock, JSON.stringify(pkgLockData));
|
||||
fs.writeFileSync(pkgLock, JSON.stringify(pkgLockData, null, 2));
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user