aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-02 15:56:14 +0800
committerFabio Berger <me@fabioberger.com>2018-04-02 15:56:14 +0800
commit723276ae3fe460ebb89b9b0948c3423e021e2cf9 (patch)
tree38c6f9b4b391a1a9b4dc94d8fe7ffecf8091eed8 /packages
parent76c5945017c945122c3e72bc7dcdf5dd048b4a22 (diff)
downloaddexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.tar
dexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.tar.gz
dexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.tar.bz2
dexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.tar.lz
dexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.tar.xz
dexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.tar.zst
dexon-sol-tools-723276ae3fe460ebb89b9b0948c3423e021e2cf9.zip
Fix hasty find/replace
Diffstat (limited to 'packages')
-rw-r--r--packages/monorepo-scripts/src/convert_changelogs.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/convert_changelogs.ts b/packages/monorepo-scripts/src/convert_changelogs.ts
index c75abfc44..b5be14ed8 100644
--- a/packages/monorepo-scripts/src/convert_changelogs.ts
+++ b/packages/monorepo-scripts/src/convert_changelogs.ts
@@ -77,9 +77,9 @@ const HEADER_PRAGMA = '##';
changelog.changes.push(changes);
}
}
- const changelogJSONPath = JSON.stringify(changelogs, null, 4);
- const changelogJSONPathPath = `${lernaPackage.location}/CHANGELOG.json`;
- fs.writeFileSync(changelogJSONPathPath, changelogJSONPath);
+ const changelogJSON = JSON.stringify(changelogs, null, 4);
+ const changelogJSONPath = `${lernaPackage.location}/CHANGELOG.json`;
+ fs.writeFileSync(changelogJSONPath, changelogJSON);
await utils.prettifyAsync(changelogJSONPath, constants.monorepoRootPath);
}
})().catch(err => {