diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-02 04:12:03 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-02 04:12:03 +0800 |
commit | 688f8615ffb817b6bead7d3ab18d355c484d812a (patch) | |
tree | e92941e180ab21452dfc0c99a7824df2d68a7dbc /packages/monorepo-scripts/src/convert_changelogs.ts | |
parent | d187a31e3833f21c86da070bceb858813e4848e3 (diff) | |
download | dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.tar dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.tar.gz dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.tar.bz2 dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.tar.lz dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.tar.xz dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.tar.zst dexon-sol-tools-688f8615ffb817b6bead7d3ab18d355c484d812a.zip |
Fix TSLint error
Diffstat (limited to 'packages/monorepo-scripts/src/convert_changelogs.ts')
-rw-r--r-- | packages/monorepo-scripts/src/convert_changelogs.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/convert_changelogs.ts b/packages/monorepo-scripts/src/convert_changelogs.ts index 7ba4c544e..c62cf844b 100644 --- a/packages/monorepo-scripts/src/convert_changelogs.ts +++ b/packages/monorepo-scripts/src/convert_changelogs.ts @@ -26,7 +26,7 @@ const HEADER_PRAGMA = '##'; throw new Error(`${lernaPackage.package.name} should have CHANGELOG.md b/c it's public. Add one.`); } - const lines = (changelogMdIfExists as string).split('\n'); + const lines = changelogMdIfExists.split('\n'); const changelogs: Changelog[] = []; let changelog: Changelog = { version: '', |