Skip to content

Commit

Permalink
🐛 --write-toc case bug (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed May 7, 2024
1 parent ab863c8 commit 9862c12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/mystmd/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export function makeWriteTOCOption() {
return new Option(
'--write-toc',
'Generate editable _toc.yml file for project if it does not exist',
).default(false);
)
.default(false)
.implies({ writeTOC: true });
}

export function makeGithubPagesOption() {
Expand Down

0 comments on commit 9862c12

Please sign in to comment.