Skip to content

Commit e758807

Browse files
committed
fix: changelog render in cli log command
1 parent 9b781f0 commit e758807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/commands/log.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Command, { flags } from '@oclif/command'
22
import { inspect } from 'util'
3-
import * as ChangeLog from '../../lib/changelog/data'
3+
import * as ChangeLog from '../../lib/changelog'
44
import { getContext } from '../../utils/context'
55

66
export class Log extends Command {
@@ -29,7 +29,7 @@ export class Log extends Command {
2929
}
3030

3131
this.log(
32-
ChangeLog.render(ctx.series, {
32+
ChangeLog.renderFromSeries(ctx.series, {
3333
as: flags.markdown ? 'markdown' : 'plain',
3434
})
3535
)

0 commit comments

Comments
 (0)