Skip to content

Commit

Permalink
fix: changelog render in cli log command
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Dec 7, 2020
1 parent 9b781f0 commit e758807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/commands/log.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -29,7 +29,7 @@ export class Log extends Command {
}

this.log(
ChangeLog.render(ctx.series, {
ChangeLog.renderFromSeries(ctx.series, {
as: flags.markdown ? 'markdown' : 'plain',
})
)
Expand Down

0 comments on commit e758807

Please sign in to comment.