aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils/changelog_utils.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-29 06:25:08 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-29 06:25:08 +0800
commit86284f1c7ece5477a8f102f50319dd6fe552aa9e (patch)
treea5802cfd28edec22d7cf05aaa64a8207b9441865 /packages/monorepo-scripts/src/utils/changelog_utils.ts
parent61a4ae7fc408cb2ee22aaf30ec5eb420ff9f2b03 (diff)
parentf44644ad9029148c43f69d666356ed9fb18de4e2 (diff)
downloaddexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.gz
dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.zst
dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into website/feature/react-16
Diffstat (limited to 'packages/monorepo-scripts/src/utils/changelog_utils.ts')
-rw-r--r--packages/monorepo-scripts/src/utils/changelog_utils.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/monorepo-scripts/src/utils/changelog_utils.ts b/packages/monorepo-scripts/src/utils/changelog_utils.ts
index 4781b3b7d..8058d222b 100644
--- a/packages/monorepo-scripts/src/utils/changelog_utils.ts
+++ b/packages/monorepo-scripts/src/utils/changelog_utils.ts
@@ -19,11 +19,6 @@ CHANGELOG
export const changelogUtils = {
getChangelogMdTitle(versionChangelog: VersionChangelog): string {
- if (_.isUndefined(versionChangelog.timestamp)) {
- throw new Error(
- 'All CHANGELOG.json entries must be updated to include a timestamp before generating their MD version',
- );
- }
const date = moment(`${versionChangelog.timestamp}`, 'X').format('MMMM D, YYYY');
const title = `\n## v${versionChangelog.version} - _${date}_\n\n`;
return title;