From e758807ad1a65e156e0dd123f456e287f56662b2 Mon Sep 17 00:00:00 2001 From: Jason Kuhrt Date: Mon, 7 Dec 2020 12:38:03 -0500 Subject: [PATCH] fix: changelog render in cli log command --- src/cli/commands/log.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/commands/log.ts b/src/cli/commands/log.ts index 7e764e42..5949a02e 100644 --- a/src/cli/commands/log.ts +++ b/src/cli/commands/log.ts @@ -1,6 +1,6 @@ import Command, { flags } from '@oclif/command' import { inspect } from 'util' -import * as ChangeLog from '../../lib/changelog/data' +import * as ChangeLog from '../../lib/changelog' import { getContext } from '../../utils/context' export class Log extends Command { @@ -29,7 +29,7 @@ export class Log extends Command { } this.log( - ChangeLog.render(ctx.series, { + ChangeLog.renderFromSeries(ctx.series, { as: flags.markdown ? 'markdown' : 'plain', }) )