File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class Command extends Ditamap {
3737 const flags = ensureObject ( command . flags ) ;
3838 const parameters = this . getParametersForTemplate ( flags as Dictionary < CommandHelpInfo > ) ;
3939
40- const summmary = punctuate ( asString ( command . summary ) ) ;
40+ const summary = punctuate ( asString ( command . summary ) ) ;
4141
4242 const description = asString ( command . description ) ;
4343
@@ -83,7 +83,7 @@ export class Command extends Ditamap {
8383 topicSeparator : commandMeta . topicSeparator ,
8484 commandWithUnderscores,
8585 examples,
86- summmary ,
86+ summary ,
8787 description,
8888 help,
8989 parameters,
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class Docs {
118118 // The topic ditamap with all of the subtopic links.
119119 events . emit ( 'subtopics' , topic , subTopicNames ) ;
120120
121- if ( commandIds . includes ( topic ) ) {
121+ if ( ! commandIds . includes ( topic ) ) {
122122 await new CLIReferenceTopic ( topic , description ) . write ( ) ;
123123 }
124124 await new TopicCommands ( topic , topicMeta ) . write ( ) ;
You can’t perform that action at this time.
0 commit comments