Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gutenye committed Nov 1, 2024
1 parent 18ac67a commit 029a1ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli/report/ReportComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import chalk from 'chalk'
import { createMarkdown } from '#/cli/report'
import type { TReport } from '#/types'

const { default: Markdown } = await import('ink-markdown')
const inkMarkdown = await import('ink-markdown')

export const ReportComponent = ({ reportData }: Props) => {
const Markdown = inkMarkdown.default
const { command, result } = reportData
if (result === true && command === 'convert') {
return (
Expand Down

0 comments on commit 029a1ab

Please sign in to comment.