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', }) )