Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit f27658e

Browse files
author
Jonathan Spruance (Insight Global)
committed
Write to console if not out dir specified
1 parent a3ebab8 commit f27658e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/chatdown/src/commands/chatdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class Chatdown extends Command {
3737
})
3838
}
3939

40-
let outputDir = flags.out ? path.resolve(flags.out) : path.resolve(process.cwd())
40+
let outputDir = flags.out ? path.resolve(flags.out) : null
4141

4242
if (inputIsDirectory) {
4343
let inputDir = flags.in ? flags.in.trim() : ''

0 commit comments

Comments
 (0)