aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-20 09:04:22 +0800
committerFabio Berger <me@fabioberger.com>2018-04-20 09:04:22 +0800
commit1f82c7eadfe9e9cddb56b40562a2f0f69cc7dfd9 (patch)
treeb683e2e61e6eccd7ad2549dd5d566acaeead398a /packages/monorepo-scripts/src/utils.ts
parentb6fb8dbb528a28cfc3d9395262fa39e3eecca2d5 (diff)
downloaddexon-sol-tools-1f82c7eadfe9e9cddb56b40562a2f0f69cc7dfd9.tar.gz
dexon-sol-tools-1f82c7eadfe9e9cddb56b40562a2f0f69cc7dfd9.tar.zst
dexon-sol-tools-1f82c7eadfe9e9cddb56b40562a2f0f69cc7dfd9.zip
Remove unnecessary additional params
Diffstat (limited to 'packages/monorepo-scripts/src/utils.ts')
-rw-r--r--packages/monorepo-scripts/src/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/utils.ts b/packages/monorepo-scripts/src/utils.ts
index b1bb78ab2..4412f753a 100644
--- a/packages/monorepo-scripts/src/utils.ts
+++ b/packages/monorepo-scripts/src/utils.ts
@@ -55,7 +55,7 @@ export const utils = {
const changelogIfExists = this.getChangelogJSONIfExists(changelogPath);
if (_.isUndefined(changelogIfExists)) {
// If none exists, create new, empty one.
- const emptyChangelogJSON = JSON.stringify([], null, 4);
+ const emptyChangelogJSON = JSON.stringify([]);
fs.writeFileSync(changelogPath, emptyChangelogJSON);
return emptyChangelogJSON;
}