diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-27 04:16:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-27 04:16:32 +0800 |
commit | 52fde551e47c774c115c6b6fae085025dc742196 (patch) | |
tree | ca2505dd1a6021f02ba7e287fd15c22c3005cbea /packages/monorepo-scripts/src/utils | |
parent | 40cf805e5ec0b49b6b193bad941b97049864ba0b (diff) | |
download | dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.tar dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.tar.gz dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.tar.bz2 dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.tar.lz dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.tar.xz dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.tar.zst dexon-0x-contracts-52fde551e47c774c115c6b6fae085025dc742196.zip |
Remove check since this method is now used in multiple places
Diffstat (limited to 'packages/monorepo-scripts/src/utils')
-rw-r--r-- | packages/monorepo-scripts/src/utils/changelog_utils.ts | 5 |
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; |